diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-20 12:01:27 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-20 12:01:27 +0000 |
| commit | cbc863efeb172b9ac9b27180587fec4a75ee8aab (patch) | |
| tree | 078074a3e36e17ab42df249fdd36905e68148225 | |
| parent | c7db8f7a73fde92a7f923acbddfbef9f7ab1da4c (diff) | |
| download | ruby-cbc863efeb172b9ac9b27180587fec4a75ee8aab.tar.gz ruby-cbc863efeb172b9ac9b27180587fec4a75ee8aab.tar.xz ruby-cbc863efeb172b9ac9b27180587fec4a75ee8aab.zip | |
* enumerator.c, include/ruby/ruby.h: Export rb_cEnumerator.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -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 7c5b7f013..2322c326c 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 b5ead8492..d3b8967f5 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; |
