Re-export all macros in the prelude
Now you don't need the `#[macro_use] extern crate nih_plug;` anymore
This commit is contained in:
parent
943149aaee
commit
d758dd652f
|
@ -16,9 +16,6 @@
|
|||
|
||||
#![cfg_attr(feature = "simd", feature(portable_simd))]
|
||||
|
||||
#[macro_use]
|
||||
extern crate nih_plug;
|
||||
|
||||
use nih_plug::prelude::*;
|
||||
use std::pin::Pin;
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
#[macro_use]
|
||||
extern crate nih_plug;
|
||||
|
||||
use atomic_float::AtomicF32;
|
||||
use nih_plug::prelude::*;
|
||||
use nih_plug_egui::{create_egui_editor, egui, widgets, EguiState};
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
#[macro_use]
|
||||
extern crate nih_plug;
|
||||
|
||||
use nih_plug::prelude::*;
|
||||
use parking_lot::RwLock;
|
||||
use std::pin::Pin;
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
#[macro_use]
|
||||
extern crate nih_plug;
|
||||
|
||||
use nih_plug::prelude::*;
|
||||
use std::f32::consts;
|
||||
use std::pin::Pin;
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
// Re-export the proc macro
|
||||
pub use nih_plug_derive::Params;
|
||||
|
||||
pub use super::debug::*;
|
||||
// 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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue