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

Function VmaFreeString

include/vk_mem_alloc.h:4252–4259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4250#endif // VMA_STATS_STRING_ENABLED
4251
4252static void VmaFreeString(const VkAllocationCallbacks* allocs, char* str)
4253{
4254 if (str != VMA_NULL)
4255 {
4256 const size_t len = strlen(str);
4257 vma_delete_array(allocs, str, len + 1);
4258 }
4259}
4260
4261template<typename CmpLess, typename VectorT>
4262size_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