1
0
Fork 0

Qualify the nih_log!() in the proc macro

This commit is contained in:
Robbert van der Helm 2022-03-04 12:01:35 +01:00
parent 3e0316e17c
commit 943149aaee

View file

@ -248,7 +248,7 @@ pub fn derive_params(input: TokenStream) -> TokenStream {
for (field_name, data) in serialized { for (field_name, data) in serialized {
match field_name.as_str() { match field_name.as_str() {
#(#field_deserialize_tokens)* #(#field_deserialize_tokens)*
_ => nih_log!("Unknown serialized field name: {} (this may not be accurate)", field_name), _ => ::nih_plug::nih_log!("Unknown serialized field name: {} (this may not be accurate)", field_name),
} }
} }