зеркало из https://github.com/github/ruby.git
* include/ruby/encoding.h (rb_enc_asciicompat): dummy encoding is not
ascii compatible. [ruby-dev:33878] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e16fddf1a9
Коммит
4701476b97
|
@ -1,3 +1,8 @@
|
|||
Thu Feb 21 10:35:04 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* include/ruby/encoding.h (rb_enc_asciicompat): dummy encoding is not
|
||||
ascii compatible. [ruby-dev:33878]
|
||||
|
||||
Thu Feb 21 00:01:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (RPATHFLAG): -R option of HP-UX ld is not for runtime
|
||||
|
|
|
@ -154,7 +154,7 @@ int rb_enc_codelen(int code, rb_encoding *enc);
|
|||
#define rb_enc_isspace(c,enc) ONIGENC_IS_CODE_SPACE(enc,c)
|
||||
#define rb_enc_isdigit(c,enc) ONIGENC_IS_CODE_DIGIT(enc,c)
|
||||
|
||||
#define rb_enc_asciicompat(enc) (rb_enc_mbminlen(enc)==1)
|
||||
#define rb_enc_asciicompat(enc) (!rb_enc_dummy_p(enc) && rb_enc_mbminlen(enc)==1)
|
||||
|
||||
int rb_enc_casefold(char *to, const char *p, const char *e, rb_encoding *enc);
|
||||
int rb_enc_toupper(int c, rb_encoding *enc);
|
||||
|
|
Загрузка…
Ссылка в новой задаче