From b1d373308f7a3790eae21a6b79a17df539012190 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 3 Jan 2008 08:56:08 +0000 Subject: [PATCH] * regenc.h (onigenc_ascii_is_code_ctype): put back. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ include/ruby/oniguruma.h | 2 -- regenc.h | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8b98cd178c..0649103567 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jan 3 17:54:01 2008 Tanaka Akira + + * regenc.h (onigenc_ascii_is_code_ctype): put back. + Thu Jan 3 17:33:09 2008 Tanaka Akira * encoding.c (rb_isalnum): defined. diff --git a/include/ruby/oniguruma.h b/include/ruby/oniguruma.h index 66d7637a30..0cf2e0c6e4 100644 --- a/include/ruby/oniguruma.h +++ b/include/ruby/oniguruma.h @@ -380,8 +380,6 @@ int onigenc_strlen_null P_((OnigEncoding enc, const OnigUChar* p)); ONIG_EXTERN int onigenc_str_bytelen_null P_((OnigEncoding enc, const OnigUChar* p)); -ONIG_EXTERN -int onigenc_ascii_is_code_ctype P_((OnigCodePoint code, unsigned int ctype, OnigEncoding enc)); /* PART: regular expression */ diff --git a/regenc.h b/regenc.h index d23a60acdf..0bd0abeeb2 100644 --- a/regenc.h +++ b/regenc.h @@ -124,6 +124,7 @@ 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));