MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / FreeWrapper

Function FreeWrapper

include/imgui/imgui.cpp:1471–1471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1469#ifndef IMGUI_DISABLE_DEFAULT_ALLOCATORS
1470static void* MallocWrapper(size_t size, void* user_data) { IM_UNUSED(user_data); return malloc(size); }
1471static void FreeWrapper(void* ptr, void* user_data) { IM_UNUSED(user_data); free(ptr); }
1472#else
1473static void* MallocWrapper(size_t size, void* user_data) { IM_UNUSED(user_data); IM_UNUSED(size); IM_ASSERT(0); return NULL; }
1474static void FreeWrapper(void* ptr, void* user_data) { IM_UNUSED(user_data); IM_UNUSED(ptr); IM_ASSERT(0); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected