MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / SetVoidPtr

Method SetVoidPtr

KBotExt/imgui/imgui.cpp:2477–2486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2475}
2476
2477void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
2478{
2479 ImGuiStoragePair* it = LowerBound(Data, key);
2480 if (it == Data.end() || it->key != key)
2481 {
2482 Data.insert(it, ImGuiStoragePair(key, val));
2483 return;
2484 }
2485 it->val_p = val;
2486}
2487
2488void ImGuiStorage::SetAllInt(int v)
2489{

Callers 1

CreateNewWindowFunction · 0.80

Calls 3

LowerBoundFunction · 0.85
ImGuiStoragePairClass · 0.85
endMethod · 0.45

Tested by

no test coverage detected