summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-14 18:34:57 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-14 18:34:57 -0800
commit19cdd145d345c4560ccc9d841025415e9696b64e (patch)
treed93b2eebb6fd855774667b0e8a361f2f130f653c /lib.h
parentd3aceae6d8c4e37e0d7fb8290a9ae58fc9f7a149 (diff)
downloadtxr-19cdd145d345c4560ccc9d841025415e9696b64e.tar.gz
txr-19cdd145d345c4560ccc9d841025415e9696b64e.tar.bz2
txr-19cdd145d345c4560ccc9d841025415e9696b64e.zip
Provide both char * and unsigned char * interfaces in UTF-8 module.
Fix unsigned and plan char * mixing.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.h b/lib.h
index 5fb84018..0eab0604 100644
--- a/lib.h
+++ b/lib.h
@@ -240,7 +240,7 @@ obj_t *max2(obj_t *anum, obj_t *bnum);
obj_t *min2(obj_t *anum, obj_t *bnum);
obj_t *string_own(wchar_t *str);
obj_t *string(const wchar_t *str);
-obj_t *string_utf8(const unsigned char *str);
+obj_t *string_utf8(const char *str);
obj_t *mkstring(obj_t *len, obj_t *ch);
obj_t *mkustring(obj_t *len); /* must initialize immediately with init_str! */
obj_t *init_str(obj_t *str, const wchar_t *);