vulkanalia_sys/
typedefs.rs1#![allow(
9 non_camel_case_types,
10 non_snake_case,
11 clippy::bad_bit_mask,
12 clippy::let_unit_value,
13 clippy::missing_safety_doc,
14 clippy::missing_transmute_annotations,
15 clippy::too_many_arguments,
16 clippy::type_complexity,
17 clippy::unnecessary_cast,
18 clippy::upper_case_acronyms,
19 clippy::useless_transmute
20)]
21
22use core::ffi::{c_ulong, c_void};
23
24pub type Bool32 = u32;
26pub type DeviceAddress = u64;
28pub type DeviceSize = u64;
30pub type Flags = u32;
32pub type Flags64 = u64;
34pub type RemoteAddressNV = c_void;
36pub type SampleMask = u32;
38
39pub type ANativeWindow = c_void;
42pub type AHardwareBuffer = c_void;
43
44pub type IDirectFB = c_void;
47pub type IDirectFBSurface = c_void;
48
49pub type CAMetalLayer = c_void;
52pub type GgpFrameToken = u32;
53pub type GgpStreamDescriptor = u32;
54pub type IOSurfaceRef = *mut c_void;
55pub type MTLBuffer_id = *mut c_void;
56pub type MTLCommandQueue_id = *mut c_void;
57pub type MTLDevice_id = *mut c_void;
58pub type MTLSharedEvent_id = *mut c_void;
59pub type MTLTexture_id = *mut c_void;
60
61pub type _screen_buffer = c_void;
64pub type _screen_context = c_void;
65pub type _screen_window = c_void;
66
67pub type wl_display = c_void;
70pub type wl_surface = c_void;
71
72pub type DWORD = c_ulong;
75pub type HANDLE = *mut c_void;
76pub type HINSTANCE = *mut c_void;
77pub type HMONITOR = *mut c_void;
78pub type HWND = *mut c_void;
79pub type LPCWSTR = *const u16;
80pub type SECURITY_ATTRIBUTES = c_void;
81
82pub type Display = *const c_void;
85pub type RROutput = c_ulong;
86pub type VisualID = c_ulong;
87pub type Window = c_ulong;
88pub type xcb_connection_t = c_void;
89pub type xcb_visualid_t = u32;
90pub type xcb_window_t = u32;
91pub type zx_handle_t = u32;
92
93pub type NvSciBufAttrList = *mut c_void;
96pub type NvSciBufObj = *mut c_void;
97pub type NvSciSyncAttrList = *mut c_void;
98pub type NvSciSyncObj = *mut c_void;
99
100#[repr(C)]
101#[derive(Copy, Clone, Default, Debug, PartialEq)]
102pub struct NvSciSyncFence {
103 pub payload: [u64; 6],
104}
105
106pub type OHNativeWindow = c_void;