diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-06 12:33:45 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-06 12:33:45 +0000 |
| commit | 7ae21b1db0303625ccb7f460619e2f68a248d2ab (patch) | |
| tree | 0b19582f07ef27790bde97603bd271efb88bcb35 /include/ruby/regex.h | |
| parent | 600b64dd3af65d9b87f3d7fe634106564f0abb04 (diff) | |
| download | ruby-7ae21b1db0303625ccb7f460619e2f68a248d2ab.tar.gz ruby-7ae21b1db0303625ccb7f460619e2f68a248d2ab.tar.xz ruby-7ae21b1db0303625ccb7f460619e2f68a248d2ab.zip | |
* array.c (rb_ary_cycle): typo in rdoc. a patch from Yugui
<yugui@yugui.sakura.ne.jp>. [ruby-dev:31748]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/regex.h')
| -rw-r--r-- | include/ruby/regex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/regex.h b/include/ruby/regex.h index ad736775f..b214c63d3 100644 --- a/include/ruby/regex.h +++ b/include/ruby/regex.h @@ -29,8 +29,8 @@ extern "C" { ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding; -#define ismbchar(p, enc) (mbclen((p),(enc)) != 1) -#define mbclen(p,enc) rb_enc_mbclen((p), (enc)) +#define ismbchar(p, e, enc) (mbclen((p),(e),(enc)) != 1) +#define mbclen(p,e,enc) rb_enc_mbclen((p),(e),(enc)) #endif /* ifndef ONIG_RUBY_M17N */ |
