aboutsummaryrefslogtreecommitdiffstats
path: root/dzen.h
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2009-02-12 11:52:16 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2009-02-12 11:52:16 +0000
commit7f11c68a439e10e97bee7964efe844818cff9bd5 (patch)
tree4bae704f88518de7473f51b89e67a104f592e2a9 /dzen.h
parent33fd99257cc46ce90313734bbd1c0821f7792f88 (diff)
downloaddzen-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dzen.h b/dzen.h
index 9d17502..294953a 100644
--- a/dzen.h
+++ b/dzen.h
@@ -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);