1
0
Fork 0

Fix Windows entry point names

This commit is contained in:
Robbert van der Helm 2022-02-06 23:37:40 +01:00
parent 02614e4a5a
commit c9a5818cb4

View file

@ -1097,13 +1097,13 @@ macro_rules! nih_export_vst3 {
// https://github.com/steinbergmedia/vst3_public_sdk/blob/bc459feee68803346737901471441fd4829ec3f9/source/main/dllmain.cpp#L59-L60 // https://github.com/steinbergmedia/vst3_public_sdk/blob/bc459feee68803346737901471441fd4829ec3f9/source/main/dllmain.cpp#L59-L60
#[no_mangle] #[no_mangle]
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
pub extern "system" fn InitModule() -> bool { pub extern "system" fn InitDll() -> bool {
true true
} }
#[no_mangle] #[no_mangle]
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
pub extern "system" fn DeinitModule() -> bool { pub extern "system" fn ExitDll() -> bool {
true true
} }
}; };