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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#![allow(non_camel_case_types)]
use std::os::raw::{c_char, c_void};
use crate::*;
pub type PFN_vkAllocationFunction = Option<
unsafe extern "system" fn(*mut c_void, usize, usize, SystemAllocationScope) -> *mut c_void,
>;
pub type PFN_vkDebugReportCallbackEXT = Option<
unsafe extern "system" fn(
DebugReportFlagsEXT,
DebugReportObjectTypeEXT,
u64,
usize,
i32,
*const c_char,
*const c_char,
*mut c_void,
) -> Bool32,
>;
pub type PFN_vkDebugUtilsMessengerCallbackEXT = Option<
unsafe extern "system" fn(
DebugUtilsMessageSeverityFlagsEXT,
DebugUtilsMessageTypeFlagsEXT,
*const DebugUtilsMessengerCallbackDataEXT,
*mut c_void,
) -> Bool32,
>;
pub type PFN_vkDeviceMemoryReportCallbackEXT =
Option<unsafe extern "system" fn(*const DeviceMemoryReportCallbackDataEXT, *mut c_void)>;
pub type PFN_vkFreeFunction = Option<unsafe extern "system" fn(*mut c_void, *mut c_void)>;
pub type PFN_vkInternalAllocationNotification = Option<
unsafe extern "system" fn(*mut c_void, usize, InternalAllocationType, SystemAllocationScope),
>;
pub type PFN_vkInternalFreeNotification = Option<
unsafe extern "system" fn(*mut c_void, usize, InternalAllocationType, SystemAllocationScope),
>;
pub type PFN_vkReallocationFunction = Option<
unsafe extern "system" fn(
*mut c_void,
*mut c_void,
usize,
usize,
SystemAllocationScope,
) -> *mut c_void,
>;
pub type PFN_vkVoidFunction = Option<unsafe extern "system" fn()>;