| 1870 | } |
| 1871 | |
| 1872 | void ImFormatStringToTempBufferV(const char** out_buf, const char** out_buf_end, const char* fmt, va_list args) |
| 1873 | { |
| 1874 | ImGuiContext& g = *GImGui; |
| 1875 | int buf_len = ImFormatStringV(g.TempBuffer.Data, g.TempBuffer.Size, fmt, args); |
| 1876 | *out_buf = g.TempBuffer.Data; |
| 1877 | if (out_buf_end) { *out_buf_end = g.TempBuffer.Data + buf_len; } |
| 1878 | } |
| 1879 | |
| 1880 | // CRC32 needs a 1KB lookup table (not cache friendly) |
| 1881 | // Although the code to generate the table is simple and shorter than the table itself, using a const table allows us to easily: |
no test coverage detected