summaryrefslogtreecommitdiff
path: root/intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-14 15:15:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-14 15:15:22 +0000
commitd725e6666a76ec9d0f5fda7fc24262cb4b498c17 (patch)
treea1393f9e88e66ae7e9a4a7f7b41ef4a1b9670659 /intern.h
parentf1fbedf1a622710984dd9836947214f4ce169772 (diff)
* enum.c (enumeratorize): create new enumerator for current method if
no block is given. * enumerator.c: moved from ext/enumerator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern.h b/intern.h
index 8db36a2dae..e61e394b60 100644
--- a/intern.h
+++ b/intern.h
@@ -131,6 +131,8 @@ VALUE rb_singleton_class _((VALUE));
int rb_cmpint _((VALUE, VALUE, VALUE));
NORETURN(void rb_cmperr _((VALUE, VALUE)));
/* enum.c */
+/* enumerator.c */
+VALUE rb_enumeratorize _((VALUE, VALUE, int, VALUE *));
/* error.c */
RUBY_EXTERN int ruby_nerrs;
VALUE rb_exc_new _((VALUE, const char*, long));