1
0
Fork 0

Added explicit module path in nih_export_clap.

This commit is contained in:
m-hilgendorf 2023-08-26 12:30:50 -05:00 committed by Robbert van der Helm
parent 3ccaced613
commit 252ab3c5be

View file

@ -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 // 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 // This pointer gets turned into an Arc and its reference count decremented in
// [Wrapper::destroy()] // [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 .clap_plugin
.as_ptr(); .as_ptr();
} }