summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-15 20:59:07 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-15 20:59:07 -0800
commit0dd8652385533322d41b30fbd9375e6de9903548 (patch)
tree786b2554d78044d5613640220af6ab0fab9e2b01 /lib.h
parent24130a3641ae179816ca5672bde12cc04be17813 (diff)
downloadtxr-0dd8652385533322d41b30fbd9375e6de9903548.tar.gz
txr-0dd8652385533322d41b30fbd9375e6de9903548.tar.bz2
txr-0dd8652385533322d41b30fbd9375e6de9903548.zip
* lib.c (chr): Take wchar_t argument, not int. Dropped range check.
(c_chr): Return wchar_t not int. * lib.h (chr, c_chr): Declarations updated.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib.h b/lib.h
index 0eab0604..0d075b2f 100644
--- a/lib.h
+++ b/lib.h
@@ -258,9 +258,9 @@ obj_t *cat_str(obj_t *list, obj_t *sep);
obj_t *split_str(obj_t *str, obj_t *sep);
obj_t *trim_str(obj_t *str);
obj_t *string_lt(obj_t *astr, obj_t *bstr);
-obj_t *chr(int ch);
+obj_t *chr(wchar_t ch);
obj_t *chrp(obj_t *chr);
-int c_chr(obj_t *chr);
+wchar_t c_chr(obj_t *chr);
obj_t *chr_str(obj_t *str, obj_t *index);
obj_t *chr_str_set(obj_t *str, obj_t *index, obj_t *chr);
obj_t *sym_name(obj_t *sym);