MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / SetVoidPtr

Method SetVoidPtr

3rdparty/imgui/src/imgui.cpp:3025–3032  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3023}
3024
3025void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
3026{
3027 ImGuiStoragePair* it = ImLowerBound(Data.Data, Data.Data + Data.Size, key);
3028 if (it == Data.Data + Data.Size || it->key != key)
3029 Data.insert(it, ImGuiStoragePair(key, val));
3030 else
3031 it->val_p = val;
3032}
3033
3034void ImGuiStorage::SetAllInt(int v)
3035{

Callers 3

CreateNewWindowFunction · 0.80
ImFontAtlasBakedDiscardFunction · 0.80

Calls 3

ImGuiStoragePairClass · 0.85
ImLowerBoundFunction · 0.70
insertMethod · 0.45

Tested by

no test coverage detected