MCPcopy Create free account
hub / github.com/RenderKit/embree / ImStreolRange

Function ImStreolRange

tutorials/common/imgui/imgui.cpp:1681–1685  ·  view source on GitHub ↗

Find end-of-line. Return pointer will point to either first \n, either str_end.

Source from the content-addressed store, hash-verified

1679
1680// Find end-of-line. Return pointer will point to either first \n, either str_end.
1681const char* ImStreolRange(const char* str, const char* str_end)
1682{
1683 const char* p = (const char*)memchr(str, '\n', str_end - str);
1684 return p ? p : str_end;
1685}
1686
1687const ImWchar* ImStrbolW(const ImWchar* buf_mid_line, const ImWchar* buf_begin) // find beginning-of-line
1688{

Callers 1

LogRenderedTextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected