1
0
Fork 0

Allow all platform constants to be unused

This commit is contained in:
Robbert van der Helm 2022-02-06 00:07:10 +01:00
parent 7a6bfa4573
commit 3c867f9305

View file

@ -63,12 +63,15 @@ pub use vst3_sys::sys::GUID;
const VST3_SDK_VERSION: &str = "VST 3.6.14";
// Window handle type constants missing from vst3-sys
#[allow(unused)]
const VST3_PLATFORM_HWND: &str = "HWND";
#[allow(unused)]
const VST3_PLATFORM_HIVIEW: &str = "HIView";
#[allow(unused)]
const VST3_PLATFORM_NSVIEW: &str = "NSView";
#[allow(unused)]
const VST3_PLATFORM_UIVIEW: &str = "UIView";
#[allow(unused)]
const VST3_PLATFORM_X11_WINDOW: &str = "X11EmbedWindowID";
/// Right now the wrapper adds its own bypass parameter.