| 4195 | |
| 4196 | template<typename T> |
| 4197 | static T* VmaAllocateArray(const VkAllocationCallbacks* pAllocationCallbacks, size_t count) |
| 4198 | { |
| 4199 | return (T*)VmaMalloc(pAllocationCallbacks, sizeof(T) * count, VMA_ALIGN_OF(T)); |
| 4200 | } |
| 4201 | |
| 4202 | #define vma_new(allocator, type) new(VmaAllocate<type>(allocator))(type) |
| 4203 |
nothing calls this directly
no test coverage detected