diff options
| author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-17 19:04:29 +0000 |
|---|---|---|
| committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-17 19:04:29 +0000 |
| commit | e58adeae0f384a562bbcb295b0a25026842625ca (patch) | |
| tree | 161176e4eef5bfe5a88d0177728dcd8780899337 /include/ruby/intern.h | |
| parent | 89afc5431b10e20689bcaac33a9e81a12d1b2b95 (diff) | |
* re.c (rb_memsearch_ss): simple shift search.
* re.c (rb_memsearch_qs): quick search.
* re.c (rb_memsearch_qs_utf8): quick search for UTF-8 string.
* re.c (rb_memsearch_qs_utf8_hash): hash functions for above.
* re.c (rb_memsearch): use above functions.
* string.c (rb_str_index): give enc to rb_memsearch.
* include/ruby/intern.h (rb_memsearch): move to encoding.h.
* include/ruby/encoding.h (rb_memsearch): move from intern.h.
* common.mk (PREP): add dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/intern.h')
| -rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index d51bc67636..01ea5285bb 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -466,7 +466,6 @@ double rb_genrand_real(void); /* re.c */ #define rb_memcmp memcmp int rb_memcicmp(const void*,const void*,long); -long rb_memsearch(const void*,long,const void*,long); VALUE rb_reg_nth_defined(int, VALUE); VALUE rb_reg_nth_match(int, VALUE); VALUE rb_reg_last_match(VALUE); |
