mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
💥 Move re-exports to a prelude module
So you can import everything at once, because you're likely going to need at least 90% of it anyways.
This commit is contained in:
@@ -208,7 +208,7 @@ pub fn derive_params(input: TokenStream) -> TokenStream {
|
||||
self: std::pin::Pin<&Self>,
|
||||
) -> std::collections::HashMap<&'static str, nih_plug::param::internals::ParamPtr> {
|
||||
// This may not be in scope otherwise
|
||||
use ::nih_plug::Param;
|
||||
use ::nih_plug::param::Param;
|
||||
|
||||
let mut param_map = std::collections::HashMap::new();
|
||||
#(#param_mapping_insert_tokens)*
|
||||
|
||||
Reference in New Issue
Block a user