Searched refs:ImNewDummy (Results 1 – 1 of 1) sorted by relevance
1529 struct ImNewDummy {}; struct1530 inline void* operator new(size_t, ImNewDummy, void* ptr) { return ptr; } in new() argument1531 inline void operator delete(void*, ImNewDummy, void*) {} // This is only required so we can use … in delete() argument1532 #define IM_PLACEMENT_NEW(_PTR) new(ImNewDummy(), _PTR)1533 #define IM_NEW(_TYPE) new(ImNewDummy(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE