| 4212 | |
| 4213 | template<typename T> |
| 4214 | static void vma_delete_array(const VkAllocationCallbacks* pAllocationCallbacks, T* ptr, size_t count) |
| 4215 | { |
| 4216 | if (ptr != VMA_NULL) |
| 4217 | { |
| 4218 | for (size_t i = count; i--; ) |
| 4219 | { |
| 4220 | ptr[i].~T(); |
| 4221 | } |
| 4222 | VmaFree(pAllocationCallbacks, ptr); |
| 4223 | } |
| 4224 | } |
| 4225 | |
| 4226 | static char* VmaCreateStringCopy(const VkAllocationCallbacks* allocs, const char* srcStr) |
| 4227 | { |
no test coverage detected