From 86adca2e5af969ee03d9e6a79028b0dc857f0306 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 26 Feb 2023 16:18:05 +0100 Subject: [PATCH] Reexport nih_export_standalone in crate root To keep the symmetry with the `nih_export_clap!()` and `nih_export_vst3!()` macros. --- src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 7244eca6..ca947608 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -109,3 +109,9 @@ pub mod midi; pub mod params; pub mod plugin; 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;