MCPcopy Create free account
hub / github.com/cppla/ServerStatus / str_utf8_rewind

Function str_utf8_rewind

server/src/system.c:1846–1855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1844}
1845
1846int str_utf8_rewind(const char *str, int cursor)
1847{
1848 while(cursor)
1849 {
1850 cursor--;
1851 if(str_utf8_isstart(*(str + cursor)))
1852 break;
1853 }
1854 return cursor;
1855}
1856
1857int str_utf8_forward(const char *str, int cursor)
1858{

Callers

nothing calls this directly

Calls 1

str_utf8_isstartFunction · 0.85

Tested by

no test coverage detected