| 4426 | |
| 4427 | template<typename T> |
| 4428 | void vma_delete_array(const VkAllocationCallbacks* pAllocationCallbacks, T* ptr, size_t count) |
| 4429 | { |
| 4430 | if (ptr != VMA_NULL) |
| 4431 | { |
| 4432 | for (size_t i = count; i--; ) |
| 4433 | { |
| 4434 | ptr[i].~T(); |
| 4435 | } |
| 4436 | VmaFree(pAllocationCallbacks, ptr); |
| 4437 | } |
| 4438 | } |
| 4439 | |
| 4440 | char* VmaCreateStringCopy(const VkAllocationCallbacks* allocs, const char* srcStr) |
| 4441 | { |
no test coverage detected