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

Function ImStrlenW

imgui_tiny_app/imgui/imgui.cpp:2258–2264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2256}
2257
2258int ImStrlenW(const ImWchar* str)
2259{
2260 //return (int)wcslen((const wchar_t*)str); // FIXME-OPT: Could use this when wchar_t are 16-bit
2261 int n = 0;
2262 while (*str++) n++;
2263 return n;
2264}
2265
2266// Find end-of-line. Return pointer will point to either first \n, either str_end.
2267const char* ImStreolRange(const char* str, const char* str_end)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected