MCPcopy Create free account
hub / github.com/VictorGordan/opengl-tutorials / SetVoidPtr

Method SetVoidPtr

ImGUI GLFW Tutorial/imgui/imgui.cpp:1999–2008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1997}
1998
1999void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
2000{
2001 ImGuiStoragePair* it = LowerBound(Data, key);
2002 if (it == Data.end() || it->key != key)
2003 {
2004 Data.insert(it, ImGuiStoragePair(key, val));
2005 return;
2006 }
2007 it->val_p = val;
2008}
2009
2010void ImGuiStorage::SetAllInt(int v)
2011{

Callers 1

CreateNewWindowFunction · 0.45

Calls 4

LowerBoundFunction · 0.70
ImGuiStoragePairClass · 0.70
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected