diff options
Diffstat (limited to 'vulkan/Delegates.cs')
| -rw-r--r-- | vulkan/Delegates.cs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/vulkan/Delegates.cs b/vulkan/Delegates.cs index f400aca..10a2fb0 100644 --- a/vulkan/Delegates.cs +++ b/vulkan/Delegates.cs @@ -6,31 +6,31 @@ using System; namespace Vulkan { - public unsafe delegate void* PFN_vkAllocationFunction( - void* pUserData, + public delegate IntPtr PFN_vkAllocationFunction( + IntPtr pUserData, UIntPtr size, UIntPtr alignment, VkSystemAllocationScope allocationScope); - public unsafe delegate void* PFN_vkReallocationFunction( - void* pUserData, - void* pOriginal, + public delegate IntPtr PFN_vkReallocationFunction( + IntPtr pUserData, + IntPtr pOriginal, UIntPtr size, UIntPtr alignment, VkSystemAllocationScope allocationScope); - public unsafe delegate void PFN_vkFreeFunction( - void* pUserData, - void* pMemory); + public delegate void PFN_vkFreeFunction( + IntPtr pUserData, + IntPtr pMemory); - public unsafe delegate void PFN_vkInternalAllocationNotification( - void* pUserData, + public delegate void PFN_vkInternalAllocationNotification( + IntPtr pUserData, UIntPtr size, VkInternalAllocationType allocationType, VkSystemAllocationScope allocationScope); - public unsafe delegate void PFN_vkInternalFreeNotification( - void* pUserData, + public delegate void PFN_vkInternalFreeNotification( + IntPtr pUserData, UIntPtr size, VkInternalAllocationType allocationType, VkSystemAllocationScope allocationScope); |