1
0
Fork 0

Reexport nih_export_standalone in crate root

To keep the symmetry with the `nih_export_clap!()` and
`nih_export_vst3!()` macros.
This commit is contained in:
Robbert van der Helm 2023-02-26 16:18:05 +01:00
parent 7f8c1d955d
commit 86adca2e5a

View file

@ -109,3 +109,9 @@ pub mod midi;
pub mod params; pub mod params;
pub mod plugin; pub mod plugin;
pub mod wrapper; pub mod wrapper;
// This is also re-exported from the prelude but since the other export entry points are macros and
// macros are always accessible from the crate's root, it seems like a good idea to keep the
// symmetry and also export this function in the same places
#[cfg(feature = "standalone")]
pub use wrapper::standalone::nih_export_standalone;