Fix an error in nih_export_vst3 and a warning in nih_export_clap
This commit is contained in:
parent
5f4058d164
commit
bf59a9496b
|
@ -82,7 +82,7 @@ macro_rules! nih_export_clap {
|
|||
}
|
||||
|
||||
unsafe extern "C" fn create_plugin (
|
||||
factory: *const clap_plugin_factory,
|
||||
_factory: *const clap_plugin_factory,
|
||||
host: *const clap_host,
|
||||
plugin_id: *const c_char,
|
||||
) -> *const clap_plugin {
|
||||
|
|
|
@ -59,7 +59,7 @@ macro_rules! nih_export_vst3 {
|
|||
|
||||
if cfg!(debug_assertions) {
|
||||
let unique_cids: HashSet<[u8; 16]> = plugin_infos.iter().map(|d| *d.cid).collect();
|
||||
nih_debug_assert_eq!(
|
||||
$crate::nih_debug_assert_eq!(
|
||||
unique_cids.len(),
|
||||
plugin_infos.len(),
|
||||
"Duplicate VST3 class IDs found in `nih_export_vst3!()` call"
|
||||
|
|
Loading…
Reference in a new issue