diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-12-04 00:11:10 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-12-04 00:11:10 +0100 |
| commit | ff1a3d502830a248e8d6765b241e8a4cbd2884bc (patch) | |
| tree | 1108fb6af3fefb0fdfbcf53907aef6c069ac16c5 /vulkan/Delegates.cs | |
| parent | 3854569959a8e0b4df7fbed6db48ec7c13ead272 (diff) | |
no string in rewriter, remove unsafe blocks, lib is full safe mode nowv0.3.0-beta
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); |