MCPcopy Create free account
hub / github.com/clementgallet/libTAS / ClearLog

Method ClearLog

src/external/imgui/imgui_demo.cpp:6952–6957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6950 static void Strtrim(char* s) { char* str_end = s + strlen(s); while (str_end > s && str_end[-1] == ' ') str_end--; *str_end = 0; }
6951
6952 void ClearLog()
6953 {
6954 for (int i = 0; i < Items.Size; i++)
6955 free(Items[i]);
6956 Items.clear();
6957 }
6958
6959 void AddLog(const char* fmt, ...) IM_FMTARGS(2)
6960 {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected