1
0
Fork 0
nih-plug/src/prelude.rs
Robbert van der Helm d758dd652f Re-export all macros in the prelude
Now you don't need the `#[macro_use] extern crate nih_plug;` anymore
2022-03-04 12:01:47 +01:00

28 lines
921 B
Rust

// Re-export the proc macro
pub use nih_plug_derive::Params;
// And the other macros
pub use super::nih_debug_assert;
pub use super::nih_debug_assert_eq;
pub use super::nih_debug_assert_failure;
pub use super::nih_debug_assert_ne;
pub use super::nih_export_clap;
pub use super::nih_export_vst3;
pub use super::nih_log;
pub use super::formatters;
pub use super::util;
pub use super::buffer::Buffer;
pub use super::context::{GuiContext, ParamSetter, ProcessContext};
// This also includes the derive macro
pub use super::param::enums::{Enum, EnumParam};
pub use super::param::internals::Params;
pub use super::param::range::{FloatRange, IntRange};
pub use super::param::smoothing::{Smoother, SmoothingStyle};
pub use super::param::{BoolParam, FloatParam, IntParam, Param};
pub use super::plugin::{
BufferConfig, BusConfig, ClapPlugin, Editor, NoteEvent, ParentWindowHandle, Plugin,
ProcessStatus, Vst3Plugin,
};