mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/oniguruma.h (ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE):
parenthesize an argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0dd39db036
commit
9ee1ab0e28
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Dec 11 09:40:21 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* include/ruby/oniguruma.h (ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE):
|
||||
parenthesize an argument.
|
||||
|
||||
Tue Dec 11 02:23:32 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_method_missing): RDoc update patch from Hugh Sasse
|
||||
|
|
|
@ -285,7 +285,7 @@ ONIG_EXTERN OnigEncodingType OnigEncodingGB18030;
|
|||
|
||||
#define ONIGENC_CONSTRUCT_MBCLEN_CHARFOUND(n) (n)
|
||||
#define ONIGENC_CONSTRUCT_MBCLEN_INVALID() (-1)
|
||||
#define ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE(n) (-1-n)
|
||||
#define ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE(n) (-1-(n))
|
||||
|
||||
static inline int onigenc_mbclen_charfound(int r) { return 0 < r ? r : 0; }
|
||||
static inline int onigenc_mbclen_needmore(int r) { return r < -1 ? -1 - r : 0; }
|
||||
|
|
Loading…
Reference in a new issue