support for PL_utf8_strlen

This commit is contained in:
Vitor Santos Costa 2010-06-18 10:31:20 +01:00
parent 5b047b516b
commit 17abf6a484
1 changed files with 7 additions and 0 deletions

View File

@ -678,3 +678,10 @@ PL_dispatch(int fd, int wait)
return TRUE;
}
extern size_t PL_utf8_strlen(const char *s, size_t len);
X_API size_t
PL_utf8_strlen(const char *s, size_t len)
{ return utf8_strlen(s, len);
}