diff --git a/vulkan.v b/vulkan.v index 00fffe3..dbc92be 100644 --- a/vulkan.v +++ b/vulkan.v @@ -14447,9 +14447,6 @@ $if vulkan_win32 ? { pub const khr_external_memory_fd_spec_version = 1 pub const khr_external_memory_fd_extension_name = c'VK_KHR_external_memory_fd' -@[typedef] -pub struct C.int {} - // ImportMemoryFdInfoKHR extends VkMemoryAllocateInfo pub type ImportMemoryFdInfoKHR = C.VkImportMemoryFdInfoKHR @@ -14459,7 +14456,7 @@ pub mut: sType StructureType = StructureType.import_memory_fd_info_khr pNext voidptr = unsafe { nil } handleType ExternalMemoryHandleTypeFlagBits - fd int + fd i32 } pub type MemoryFdPropertiesKHR = C.VkMemoryFdPropertiesKHR @@ -14485,29 +14482,29 @@ pub mut: @[keep_args_alive] fn C.vkGetMemoryFdKHR( - device Device, const_pGetFdInfo &MemoryGetFdInfoKHR, pFd &int) Result + device Device, const_pGetFdInfo &MemoryGetFdInfoKHR, pFd &i32) Result -pub type PFN_vkGetMemoryFdKHR = fn (device Device, const_pGetFdInfo &MemoryGetFdInfoKHR, pFd &int) Result +pub type PFN_vkGetMemoryFdKHR = fn (device Device, const_pGetFdInfo &MemoryGetFdInfoKHR, pFd &i32) Result @[inline] pub fn get_memory_fd_khr( device Device, const_pGetFdInfo &MemoryGetFdInfoKHR, - pFd &int) Result { + pFd &i32) Result { return C.vkGetMemoryFdKHR(device, const_pGetFdInfo, pFd) } @[keep_args_alive] fn C.vkGetMemoryFdPropertiesKHR( - device Device, handleType ExternalMemoryHandleTypeFlagBits, fd int, mut_pMemoryFdProperties &MemoryFdPropertiesKHR) Result + device Device, handleType ExternalMemoryHandleTypeFlagBits, fd i32, mut_pMemoryFdProperties &MemoryFdPropertiesKHR) Result -pub type PFN_vkGetMemoryFdPropertiesKHR = fn (device Device, handleType ExternalMemoryHandleTypeFlagBits, fd int, mut_pMemoryFdProperties &MemoryFdPropertiesKHR) Result +pub type PFN_vkGetMemoryFdPropertiesKHR = fn (device Device, handleType ExternalMemoryHandleTypeFlagBits, fd i32, mut_pMemoryFdProperties &MemoryFdPropertiesKHR) Result @[inline] pub fn get_memory_fd_properties_khr( device Device, handleType ExternalMemoryHandleTypeFlagBits, - fd int, + fd i32, mut mut_pMemoryFdProperties MemoryFdPropertiesKHR) Result { return C.vkGetMemoryFdPropertiesKHR(device, handleType, fd, mut_pMemoryFdProperties) } @@ -14667,7 +14664,7 @@ pub mut: semaphore Semaphore flags SemaphoreImportFlags handleType ExternalSemaphoreHandleTypeFlagBits - fd int + fd i32 } pub type SemaphoreGetFdInfoKHR = C.VkSemaphoreGetFdInfoKHR @@ -14696,15 +14693,15 @@ pub fn import_semaphore_fd_khr( @[keep_args_alive] fn C.vkGetSemaphoreFdKHR( - device Device, const_pGetFdInfo &SemaphoreGetFdInfoKHR, pFd &int) Result + device Device, const_pGetFdInfo &SemaphoreGetFdInfoKHR, pFd &i32) Result -pub type PFN_vkGetSemaphoreFdKHR = fn (device Device, const_pGetFdInfo &SemaphoreGetFdInfoKHR, pFd &int) Result +pub type PFN_vkGetSemaphoreFdKHR = fn (device Device, const_pGetFdInfo &SemaphoreGetFdInfoKHR, pFd &i32) Result @[inline] pub fn get_semaphore_fd_khr( device Device, const_pGetFdInfo &SemaphoreGetFdInfoKHR, - pFd &int) Result { + pFd &i32) Result { return C.vkGetSemaphoreFdKHR(device, const_pGetFdInfo, pFd) } @@ -15087,7 +15084,7 @@ pub mut: fence Fence flags FenceImportFlags handleType ExternalFenceHandleTypeFlagBits - fd int + fd i32 } pub type FenceGetFdInfoKHR = C.VkFenceGetFdInfoKHR @@ -15116,15 +15113,15 @@ pub fn import_fence_fd_khr( @[keep_args_alive] fn C.vkGetFenceFdKHR( - device Device, const_pGetFdInfo &FenceGetFdInfoKHR, pFd &int) Result + device Device, const_pGetFdInfo &FenceGetFdInfoKHR, pFd &i32) Result -pub type PFN_vkGetFenceFdKHR = fn (device Device, const_pGetFdInfo &FenceGetFdInfoKHR, pFd &int) Result +pub type PFN_vkGetFenceFdKHR = fn (device Device, const_pGetFdInfo &FenceGetFdInfoKHR, pFd &i32) Result @[inline] pub fn get_fence_fd_khr( device Device, const_pGetFdInfo &FenceGetFdInfoKHR, - pFd &int) Result { + pFd &i32) Result { return C.vkGetFenceFdKHR(device, const_pGetFdInfo, pFd) }