0x00, 0x00, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc
};
-static inline int ustrlen(const char *s)
+int m_ustrlen(const char *s)
{
int len = 0;
return len;
}
-static inline int ustrgetc(const char *s, const char **outp)
+int m_ustrgetc(const char *s, const char **outp)
{
uint32_t ret = 0;
int trail = __utf8_trail[(unsigned char)*s];
return ret - __utf8_offs[trail];
}
-static inline int ustrputc(char *dst, ssize_t n, int c)
+int m_ustrputc(char *dst, ssize_t n, int c)
{
int bytes = 1 + (c >= 0x80) + (c >= 0x800) + (c >= 0x10000);