diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2009-02-12 11:52:16 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2009-02-12 11:52:16 +0000 |
commit | 7f11c68a439e10e97bee7964efe844818cff9bd5 (patch) | |
tree | 4bae704f88518de7473f51b89e67a104f592e2a9 /dzen.h | |
parent | 33fd99257cc46ce90313734bbd1c0821f7792f88 (diff) | |
download | dzen-7f11c68a439e10e97bee7964efe844818cff9bd5.tar.gz dzen-7f11c68a439e10e97bee7964efe844818cff9bd5.zip |
replaced libc strlen() with optimized strlen_utf8() version
git-svn-id: http://dzen.googlecode.com/svn/trunk@246 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'dzen.h')
-rw-r--r-- | dzen.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -162,3 +162,4 @@ extern void *emalloc(unsigned int size); /* allocates memory, exits on error */ extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ extern char *estrdup(const char *str); /* duplicates str, exits on allocation error */ extern void spawn(const char *arg); /* execute arg */ +extern size_t strlen_utf8(const char * _s); |