MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / TestDealloc

Function TestDealloc

unittests/APITests/fextl_function.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41static void TestDealloc(void* Ptr) {
42 if (Ptr) {
43 ++DeallocCount;
44 }
45 ::FEXCore::Allocator::aligned_free(Ptr);
46}
47
48template<typename F>
49using function = fextl::move_only_function<F, TestAlloc, TestDealloc>;

Callers

nothing calls this directly

Calls 1

aligned_freeFunction · 0.85

Tested by

no test coverage detected