MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / GetFloatRef

Method GetFloatRef

core/src/imgui/imgui.cpp:1958–1964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1956}
1957
1958float* ImGuiStorage::GetFloatRef(ImGuiID key, float default_val)
1959{
1960 ImGuiStoragePair* it = LowerBound(Data, key);
1961 if (it == Data.end() || it->key != key)
1962 it = Data.insert(it, ImGuiStoragePair(key, default_val));
1963 return &it->val_f;
1964}
1965
1966void** ImGuiStorage::GetVoidPtrRef(ImGuiID key, void* default_val)
1967{

Callers

nothing calls this directly

Calls 3

LowerBoundFunction · 0.85
ImGuiStoragePairClass · 0.85
endMethod · 0.45

Tested by

no test coverage detected