MCPcopy Create free account
hub / github.com/Raais/ImStudio / ClearLog

Method ClearLog

src/third-party/imgui/imgui_demo.cpp:6499–6504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6497 static void Strtrim(char* s) { char* str_end = s + strlen(s); while (str_end > s && str_end[-1] == ' ') str_end--; *str_end = 0; }
6498
6499 void ClearLog()
6500 {
6501 for (int i = 0; i < Items.Size; i++)
6502 free(Items[i]);
6503 Items.clear();
6504 }
6505
6506 void AddLog(const char* fmt, ...) IM_FMTARGS(2)
6507 {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected