MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / vma_delete_array

Function vma_delete_array

include/vk_mem_alloc.h:4214–4224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4212
4213template<typename T>
4214static 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
4226static char* VmaCreateStringCopy(const VkAllocationCallbacks* allocs, const char* srcStr)
4227{

Callers 6

VmaFreeStringFunction · 0.85
~VmaPoolAllocatorMethod · 0.85
DestroyMethod · 0.85
FinishValidationMethod · 0.85

Calls 1

VmaFreeFunction · 0.85

Tested by

no test coverage detected