diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | enumerator.c | 2 | ||||
-rw-r--r-- | include/ruby/ruby.h | 1 |
3 files changed, 6 insertions, 1 deletions
@@ -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 7c5b7f0131..2322c326ce 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 b5ead8492d..d3b8967f56 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; |