summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-20 12:01:27 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-20 12:01:27 +0000
commitd657d4feb3c7c81557e2fe39fc6a669a4b6be5d4 (patch)
tree078074a3e36e17ab42df249fdd36905e68148225
parent3537b97bc1b22d93eb8e824c395b97f917abedee (diff)
* enumerator.c, include/ruby/ruby.h: Export rb_cEnumerator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--enumerator.c2
-rw-r--r--include/ruby/ruby.h1
3 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c53e8931929..737801355b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Apr 20 21:00:21 2008 Akinori MUSHA <knu@iDaemons.org>
+
+ * enumerator.c, include/ruby/ruby.h: Export rb_cEnumerator.
+
Sun Apr 20 20:47:50 2008 Akinori MUSHA <knu@iDaemons.org>
* enumerator.c: Resolve the method every time an enumeration
diff --git a/enumerator.c b/enumerator.c
index 7c5b7f0131a..2322c326ce0 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -21,7 +21,7 @@
* A class which provides a method `each' to be used as an Enumerable
* object.
*/
-static VALUE rb_cEnumerator;
+VALUE rb_cEnumerator;
static VALUE sym_each;
VALUE rb_eStopIteration;
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index b5ead8492d1..d3b8967f564 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -854,6 +854,7 @@ RUBY_EXTERN VALUE rb_cCont;
RUBY_EXTERN VALUE rb_cDir;
RUBY_EXTERN VALUE rb_cData;
RUBY_EXTERN VALUE rb_cFalseClass;
+RUBY_EXTERN VALUE rb_cEnumerator;
RUBY_EXTERN VALUE rb_cFile;
RUBY_EXTERN VALUE rb_cFixnum;
RUBY_EXTERN VALUE rb_cFloat;