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

Method SetVoidPtr

extern/imgui/imgui.cpp:2415–2424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2413}
2414
2415void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
2416{
2417 ImGuiStoragePair* it = LowerBound(Data, key);
2418 if (it == Data.end() || it->key != key)
2419 {
2420 Data.insert(it, ImGuiStoragePair(key, val));
2421 return;
2422 }
2423 it->val_p = val;
2424}
2425
2426void ImGuiStorage::SetAllInt(int v)
2427{

Callers 4

CreateNewWindowFunction · 0.80
DockContextAddNodeMethod · 0.80
DockContextRemoveNodeMethod · 0.80
DockNodeTreeMergeMethod · 0.80

Calls 4

LowerBoundFunction · 0.85
ImGuiStoragePairClass · 0.85
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected