| 2315 | #endif // #ifdef IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS |
| 2316 | |
| 2317 | void ImFormatStringToTempBuffer(const char** out_buf, const char** out_buf_end, const char* fmt, ...) |
| 2318 | { |
| 2319 | va_list args; |
| 2320 | va_start(args, fmt); |
| 2321 | ImFormatStringToTempBufferV(out_buf, out_buf_end, fmt, args); |
| 2322 | va_end(args); |
| 2323 | } |
| 2324 | |
| 2325 | // FIXME: Should rework API toward allowing multiple in-flight temp buffers (easier and safer for caller) |
| 2326 | // by making the caller acquire a temp buffer token, with either explicit or destructor release, e.g. |
no test coverage detected