MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / SetVoidPtr

Method SetVoidPtr

lib/imgui/imgui.cpp:1938–1947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1936}
1937
1938void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
1939{
1940 ImGuiStoragePair* it = LowerBound(Data, key);
1941 if (it == Data.end() || it->key != key)
1942 {
1943 Data.insert(it, ImGuiStoragePair(key, val));
1944 return;
1945 }
1946 it->val_p = val;
1947}
1948
1949void ImGuiStorage::SetAllInt(int v)
1950{

Callers 1

CreateNewWindowFunction · 0.80

Calls 4

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

Tested by

no test coverage detected