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::needless_lifetimes,
16 clippy::too_many_arguments,
17 clippy::type_complexity,
18 clippy::unnecessary_cast,
19 clippy::upper_case_acronyms,
20 clippy::useless_transmute
21)]
22
23use core::ffi::{c_ulong, c_void};
24
25pub type Bool32 = u32;
27pub type DeviceAddress = u64;
29pub type DeviceSize = u64;
31pub type Flags = u32;
33pub type Flags64 = u64;
35pub type RemoteAddressNV = c_void;
37pub type SampleMask = u32;
39
40pub type ANativeWindow = c_void;
43pub type AHardwareBuffer = c_void;
44
45pub type IDirectFB = c_void;
48pub type IDirectFBSurface = c_void;
49
50pub type CAMetalLayer = c_void;
53pub type GgpFrameToken = u32;
54pub type GgpStreamDescriptor = u32;
55pub type IOSurfaceRef = *mut c_void;
56pub type MTLBuffer_id = *mut c_void;
57pub type MTLCommandQueue_id = *mut c_void;
58pub type MTLDevice_id = *mut c_void;
59pub type MTLSharedEvent_id = *mut c_void;
60pub type MTLTexture_id = *mut c_void;
61
62pub type _screen_buffer = c_void;
65pub type _screen_context = c_void;
66pub type _screen_window = c_void;
67
68pub type wl_display = c_void;
71pub type wl_surface = c_void;
72
73pub type DWORD = c_ulong;
76pub type HANDLE = *mut c_void;
77pub type HINSTANCE = *mut c_void;
78pub type HMONITOR = *mut c_void;
79pub type HWND = *mut c_void;
80pub type LPCWSTR = *const u16;
81pub type SECURITY_ATTRIBUTES = c_void;
82
83pub type Display = *const c_void;
86pub type RROutput = c_ulong;
87pub type VisualID = c_ulong;
88pub type Window = c_ulong;
89pub type xcb_connection_t = c_void;
90pub type xcb_visualid_t = u32;
91pub type xcb_window_t = u32;
92pub type zx_handle_t = u32;
93
94pub type NvSciBufAttrList = *mut c_void;
97pub type NvSciBufObj = *mut c_void;
98pub type NvSciSyncAttrList = *mut c_void;
99pub type NvSciSyncObj = *mut c_void;
100
101#[repr(C)]
102#[derive(Copy, Clone, Default, Debug, PartialEq)]
103pub struct NvSciSyncFence {
104 pub payload: [u64; 6],
105}
106
107pub type OHNativeWindow = c_void;