summaryrefslogtreecommitdiff
path: root/libguile/chars.h
diff options
context:
space:
mode:
authorJulian Graham <julian.graham@aya.yale.edu>2009-12-24 00:25:19 -0500
committerJulian Graham <julian.graham@aya.yale.edu>2009-12-24 11:55:47 -0500
commit0ca3a342d19ec89b8ae6bba0a74f0f9ecc5cf7c2 (patch)
tree551524af48bba7fa5fd174f1129b3ba2216deeeb /libguile/chars.h
parentd7a4096d251933a21325739fcd32129b073c33ce (diff)
downloadguile-0ca3a342d19ec89b8ae6bba0a74f0f9ecc5cf7c2.tar.gz
Support for Unicode general categories
* libguile/chars.c, libguile/chars.h (scm_char_general_category): New function. * test-suite/tests/chars.test: Unit tests for `char-general-category'. * doc/ref/api-data.texi (Characters): Documentation for `char-general-category'.
Diffstat (limited to 'libguile/chars.h')
-rw-r--r--libguile/chars.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libguile/chars.h b/libguile/chars.h
index 2b00645ad..488dd255f 100644
--- a/libguile/chars.h
+++ b/libguile/chars.h
@@ -81,6 +81,7 @@ SCM_API SCM scm_integer_to_char (SCM n);
SCM_API SCM scm_char_upcase (SCM chr);
SCM_API SCM scm_char_downcase (SCM chr);
SCM_API SCM scm_char_titlecase (SCM chr);
+SCM_API SCM scm_char_general_category (SCM chr);
SCM_API scm_t_wchar scm_c_upcase (scm_t_wchar c);
SCM_API scm_t_wchar scm_c_downcase (scm_t_wchar c);
SCM_API scm_t_wchar scm_c_titlecase (scm_t_wchar c);