From 7f11c68a439e10e97bee7964efe844818cff9bd5 Mon Sep 17 00:00:00 2001 From: gotmor Date: Thu, 12 Feb 2009 11:52:16 +0000 Subject: replaced libc strlen() with optimized strlen_utf8() version git-svn-id: http://dzen.googlecode.com/svn/trunk@246 f2baff5b-bf2c-0410-a398-912abdc3d8b2 --- dzen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'dzen.h') 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); -- cgit v1.2.3-54-g00ecf