diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2009-11-14 18:34:57 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2009-11-14 18:34:57 -0800 |
commit | 19cdd145d345c4560ccc9d841025415e9696b64e (patch) | |
tree | d93b2eebb6fd855774667b0e8a361f2f130f653c /lib.h | |
parent | d3aceae6d8c4e37e0d7fb8290a9ae58fc9f7a149 (diff) | |
download | txr-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 *); |