mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Added explicit module path in nih_export_clap.
This commit is contained in:
committed by
Robbert van der Helm
parent
3ccaced613
commit
252ab3c5be
@@ -102,7 +102,7 @@ macro_rules! nih_export_clap {
|
||||
// Arc does not have a convenient leak function like Box, so this gets a bit awkward
|
||||
// This pointer gets turned into an Arc and its reference count decremented in
|
||||
// [Wrapper::destroy()]
|
||||
return (*Arc::into_raw(::nih_plug::wrapper::clap::Wrapper::<$plugin_ty>::new(host)))
|
||||
return (*::std::sync::Arc::into_raw(::nih_plug::wrapper::clap::Wrapper::<$plugin_ty>::new(host)))
|
||||
.clap_plugin
|
||||
.as_ptr();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user