MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / IM_DELETE

Function IM_DELETE

extern/imgui/imgui.h:1819–1819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1817#define IM_PLACEMENT_NEW(_PTR) new(ImNewWrapper(), _PTR)
1818#define IM_NEW(_TYPE) new(ImNewWrapper(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE
1819template<typename T> void IM_DELETE(T* p) { if (p) { p->~T(); ImGui::MemFree(p); } }
1820
1821//-----------------------------------------------------------------------------
1822// ImVector<>

Callers 14

clear_deleteFunction · 0.85
~ImGuiWindowMethod · 0.85
DestroyContextMethod · 0.85
ShutdownMethod · 0.85
DestroyViewportMethod · 0.85
DockContextShutdownMethod · 0.85
DockContextRemoveNodeMethod · 0.85
~ImGuiDockNodeMethod · 0.85
DockNodeRemoveTabBarMethod · 0.85
DockNodeTreeMergeMethod · 0.85
~ImGuiViewportPMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected