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"; const VST3_SDK_VERSION: &str = "VST 3.6.14";
// Window handle type constants missing from vst3-sys // Window handle type constants missing from vst3-sys
#[allow(unused)]
const VST3_PLATFORM_HWND: &str = "HWND"; const VST3_PLATFORM_HWND: &str = "HWND";
#[allow(unused)] #[allow(unused)]
const VST3_PLATFORM_HIVIEW: &str = "HIView"; const VST3_PLATFORM_HIVIEW: &str = "HIView";
#[allow(unused)]
const VST3_PLATFORM_NSVIEW: &str = "NSView"; const VST3_PLATFORM_NSVIEW: &str = "NSView";
#[allow(unused)] #[allow(unused)]
const VST3_PLATFORM_UIVIEW: &str = "UIView"; const VST3_PLATFORM_UIVIEW: &str = "UIView";
#[allow(unused)]
const VST3_PLATFORM_X11_WINDOW: &str = "X11EmbedWindowID"; const VST3_PLATFORM_X11_WINDOW: &str = "X11EmbedWindowID";
/// Right now the wrapper adds its own bypass parameter. /// Right now the wrapper adds its own bypass parameter.