summaryrefslogtreecommitdiff
path: root/intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-07 06:35:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-07 06:35:26 +0000
commit34033db665f806bf37f142171c391c739a9f5409 (patch)
tree5bd0f9b6b7c7697c69357d142c28049747eb21ba /intern.h
parentb89cbf192b09dcdd6df6256a0c8d61e17664e2ad (diff)
* intern.h, re.c (rb_memsearch): returns long.
* string.c (rb_str_index): should return offset position. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern.h b/intern.h
index 1ed37a8..1886c3e 100644
--- a/intern.h
+++ b/intern.h
@@ -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));