MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / ImFormatStringToTempBuffer

Function ImFormatStringToTempBuffer

imgui_tiny_app/imgui/imgui.cpp:2384–2390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2382#endif // #ifdef IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS
2383
2384void ImFormatStringToTempBuffer(const char** out_buf, const char** out_buf_end, const char* fmt, ...)
2385{
2386 va_list args;
2387 va_start(args, fmt);
2388 ImFormatStringToTempBufferV(out_buf, out_buf_end, fmt, args);
2389 va_end(args);
2390}
2391
2392// FIXME: Should rework API toward allowing multiple in-flight temp buffers (easier and safer for caller)
2393// by making the caller acquire a temp buffer token, with either explicit or destructor release, e.g.

Callers 3

BeginChildExMethod · 0.85
ShowFontAtlasMethod · 0.85
DebugHookIdInfoMethod · 0.85

Calls 1

Tested by

no test coverage detected