MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / Items_ArrayGetter

Function Items_ArrayGetter

include/imgui/imgui_widgets.cpp:2146–2150  ·  view source on GitHub ↗

Getter for the old Combo() API: const char*[]

Source from the content-addressed store, hash-verified

2144
2145// Getter for the old Combo() API: const char*[]
2146static const char* Items_ArrayGetter(void* data, int idx)
2147{
2148 const char* const* items = (const char* const*)data;
2149 return items[idx];
2150}
2151
2152// Getter for the old Combo() API: "item1\0item2\0item3\0"
2153static const char* Items_SingleStringGetter(void* data, int idx)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected