1 use std::os::raw::*; 2 pub type RROutput = c_ulong; 3 pub type VisualID = c_uint; 4 pub type Display = *const c_void; 5 pub type Window = c_ulong; 6 #[allow(non_camel_case_types)] 7 pub type xcb_connection_t = c_void; 8 #[allow(non_camel_case_types)] 9 pub type xcb_window_t = u32; 10 #[allow(non_camel_case_types)] 11 pub type xcb_visualid_t = u32; 12 pub type MirConnection = *const c_void; 13 pub type MirSurface = *const c_void; 14 pub type HINSTANCE = *const c_void; 15 pub type HWND = *const c_void; 16 #[allow(non_camel_case_types)] 17 pub type wl_display = c_void; 18 #[allow(non_camel_case_types)] 19 pub type wl_surface = c_void; 20 pub type HANDLE = *mut c_void; 21 pub type HMONITOR = HANDLE; 22 pub type DWORD = c_ulong; 23 pub type LPCWSTR = *const u16; 24 #[allow(non_camel_case_types)] 25 pub type zx_handle_t = u32; 26 #[allow(non_camel_case_types)] 27 pub type _screen_context = c_void; 28 #[allow(non_camel_case_types)] 29 pub type _screen_window = c_void; 30 #[allow(non_camel_case_types)] 31 pub type SECURITY_ATTRIBUTES = c_void; 32 // Opaque types 33 pub type ANativeWindow = c_void; 34 pub type AHardwareBuffer = c_void; 35 pub type CAMetalLayer = c_void; 36 // This definition is behind an NDA with a best effort guess from 37 // https://github.com/google/gapid/commit/22aafebec4638c6aaa77667096bca30f6e842d95#diff-ab3ab4a7d89b4fc8a344ff4e9332865f268ea1669ee379c1b516a954ecc2e7a6R20-R21 38 pub type GgpStreamDescriptor = u32; 39 pub type GgpFrameToken = u64; 40 pub type IDirectFB = c_void; 41 pub type IDirectFBSurface = c_void; 42