1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
use std::os::raw::*; pub type RROutput = c_ulong; pub type VisualID = c_uint; pub type Display = *const c_void; pub type Window = c_ulong; #[allow(non_camel_case_types)] pub type xcb_connection_t = c_void; #[allow(non_camel_case_types)] pub type xcb_window_t = u32; #[allow(non_camel_case_types)] pub type xcb_visualid_t = u32; pub type MirConnection = *const c_void; pub type MirSurface = *const c_void; pub type HINSTANCE = *const c_void; pub type HWND = *const c_void; #[allow(non_camel_case_types)] pub type wl_display = c_void; #[allow(non_camel_case_types)] pub type wl_surface = c_void; pub type HANDLE = *mut c_void; pub type HMONITOR = HANDLE; pub type DWORD = c_ulong; pub type LPCWSTR = *const u16; #[allow(non_camel_case_types)] pub type zx_handle_t = u32; #[allow(non_camel_case_types)] pub type SECURITY_ATTRIBUTES = (); pub type ANativeWindow = c_void; pub type AHardwareBuffer = c_void; #[doc = r" This definition is experimental and won't adhere to semver rules."] pub type GgpStreamDescriptor = u32; #[doc = r" This definition is experimental and won't adhere to semver rules."] pub type GgpFrameToken = u32; pub type CAMetalLayer = c_void;