MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator / VmaFreeString

Function VmaFreeString

include/vk_mem_alloc.h:4466–4473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4464#endif // VMA_STATS_STRING_ENABLED
4465
4466void VmaFreeString(const VkAllocationCallbacks* allocs, char* str)
4467{
4468 if (str != VMA_NULL)
4469 {
4470 const size_t len = strlen(str);
4471 vma_delete_array(allocs, str, len + 1);
4472 }
4473}
4474
4475template<typename CmpLess, typename VectorT>
4476size_t VmaVectorInsertSorted(VectorT& vector, const typename VectorT::value_type& value)

Callers 5

FreeNameMethod · 0.85
~VmaPool_TMethod · 0.85
SetNameMethod · 0.85
vmaFreeStatsStringFunction · 0.85

Calls 1

vma_delete_arrayFunction · 0.85

Tested by

no test coverage detected