diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-02-07 06:35:26 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-02-07 06:35:26 +0000 |
| commit | 30e7d0c6efccaae8c935d7e5269e9cd6fe1154ab (patch) | |
| tree | 5bd0f9b6b7c7697c69357d142c28049747eb21ba /intern.h | |
| parent | 63a220b0af9c4fabd3a292f0992cc42186414044 (diff) | |
| download | ruby-30e7d0c6efccaae8c935d7e5269e9cd6fe1154ab.tar.gz ruby-30e7d0c6efccaae8c935d7e5269e9cd6fe1154ab.tar.xz ruby-30e7d0c6efccaae8c935d7e5269e9cd6fe1154ab.zip | |
* intern.h, re.c (rb_memsearch): returns long.
* string.c (rb_str_index): should return offset position.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
| -rw-r--r-- | intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -330,7 +330,7 @@ VALUE rb_length_by_each _((VALUE)); /* re.c */ int rb_memcmp _((char*,char*,long)); int rb_memcicmp _((char*,char*,long)); -int rb_memsearch _((char*,long,char*,long)); +long rb_memsearch _((char*,long,char*,long)); VALUE rb_reg_nth_defined _((int, VALUE)); VALUE rb_reg_nth_match _((int, VALUE)); VALUE rb_reg_last_match _((VALUE)); |
