summaryrefslogtreecommitdiffstats
path: root/regenc.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-03 06:13:31 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-03 06:13:31 +0000
commitc2f42829e1f108de97b5474283b944dfe807da3a (patch)
tree0b4e32631bdac6b26e7bb569e55b34148727b2b7 /regenc.h
parente1dd7619bc8f6338557dea4bd0a740a916bd8102 (diff)
downloadruby-c2f42829e1f108de97b5474283b944dfe807da3a.tar.gz
ruby-c2f42829e1f108de97b5474283b944dfe807da3a.tar.xz
ruby-c2f42829e1f108de97b5474283b944dfe807da3a.zip
* include/ruby/encoding.h (rb_isascii): simplified.
(rb_isalnum): call onigenc_ascii_is_code_ctype without indirect call. (rb_isalpha): ditto. (rb_isblank): ditto. (rb_iscntrl): ditto. (rb_isdigit): ditto. (rb_isgraph): ditto. (rb_islower): ditto. (rb_isprint): ditto. (rb_ispunct): ditto. (rb_isspace): ditto. (rb_isupper): ditto. (rb_isxdigit): ditto. * include/ruby/oniguruma.h (onigenc_ascii_is_code_ctype): declaration moved from regenc.h. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regenc.h')
-rw-r--r--regenc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/regenc.h b/regenc.h
index 0bd0abeeb..d23a60acd 100644
--- a/regenc.h
+++ b/regenc.h
@@ -124,7 +124,6 @@ ONIG_EXTERN int onigenc_single_byte_code_to_mbc P_((OnigCodePoint code, UChar *b
ONIG_EXTERN UChar* onigenc_single_byte_left_adjust_char_head P_((const UChar* start, const UChar* s, OnigEncoding enc));
ONIG_EXTERN int onigenc_always_true_is_allowed_reverse_match P_((const UChar* s, const UChar* end, OnigEncoding enc));
ONIG_EXTERN int onigenc_always_false_is_allowed_reverse_match P_((const UChar* s, const UChar* end, OnigEncoding enc));
-ONIG_EXTERN int onigenc_ascii_is_code_ctype P_((OnigCodePoint code, unsigned int ctype, OnigEncoding enc));
/* methods for multi byte encoding */
ONIG_EXTERN OnigCodePoint onigenc_mbn_mbc_to_code P_((OnigEncoding enc, const UChar* p, const UChar* end));