Home
last modified time | relevance | path

Searched refs:ImNewDummy (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui.h1529 struct ImNewDummy {}; struct
1530 inline void* operator new(size_t, ImNewDummy, void* ptr) { return ptr; } in new() argument
1531 inline void operator delete(void*, ImNewDummy, void*) {} // This is only required so we can use … in delete() argument
1532 #define IM_PLACEMENT_NEW(_PTR) new(ImNewDummy(), _PTR)
1533 #define IM_NEW(_TYPE) new(ImNewDummy(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE