#[cfg(feature = "VK_USE_PLATFORM_XLIB_KHR")]
pub mod xlib {
use std::os::raw::c_void;
pub type Display = c_void;
pub type Window = u32;
pub type VisualID = u32;
pub type RROutput = u32;
}
#[cfg(feature = "VK_USE_PLATFORM_XCB_KHR")]
pub mod xcb {
#![allow(non_camel_case_types)]
use std::os::raw::c_void;
pub type xcb_connection_t = c_void;
pub type xcb_visualid_t = u32;
pub type xcb_window_t = u32;
}
#[cfg(feature = "VK_USE_PLATFORM_ANDROID_KHR")]
pub mod android {
use std::os::raw::c_void;
pub type ANativeWindow = c_void;
}
#[cfg(feature = "VK_USE_PLATFORM_MIR_KHR")]
pub mod mir {
use std::os::raw::c_void;
pub type MirConnection = c_void;
pub type MirSurface = c_void;
}
#[cfg(feature = "VK_USE_PLATFORM_WAYLAND_KHR")]
pub mod wayland {
#![allow(non_camel_case_types)]
use std::os::raw::c_void;
pub type wl_display = c_void;
pub type wl_surface = c_void;
}
#[cfg(feature = "VK_USE_PLATFORM_WIN32_KHR")]
pub mod win32 {
#![allow(non_camel_case_types)]
use std::os::raw::c_void;
pub type HANDLE = usize;
pub type HINSTANCE = HANDLE;
pub type HWND = HANDLE;
pub type SECURITY_ATTRIBUTES = c_void;
pub type DWORD = u32;
pub type LPCWSTR = *const u16;
}
pub mod _all {
#[cfg(feature = "VK_USE_PLATFORM_XLIB_KHR")]
pub use platform::xlib::*;
#[cfg(feature = "VK_USE_PLATFORM_XCB_KHR")]
pub use platform::xcb::*;
#[cfg(feature = "VK_USE_PLATFORM_ANDROID_KHR")]
pub use platform::android::*;
#[cfg(feature = "VK_USE_PLATFORM_MIR_KHR")]
pub use platform::mir::*;
#[cfg(feature = "VK_USE_PLATFORM_WAYLAND_KHR")]
pub use platform::wayland::*;
#[cfg(feature = "VK_USE_PLATFORM_WIN32_KHR")]
pub use platform::win32::*;
}