(svn r21404) -Add: method for getting the length of an Utf8 string in characters

This commit is contained in:
rubidium
2010-12-05 22:17:25 +00:00
parent 7e9b132d04
commit 440a529701
2 changed files with 17 additions and 0 deletions

View File

@@ -233,6 +233,8 @@ static inline char *Utf8PrevChar(char *s)
return ret;
}
size_t Utf8StringLength(const char *s);
/**
* Is the given character a text direction character.
* @param c The character to test.