diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-05 17:40:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-05 17:40:29 +0000 |
commit | 5355a86c64521c7fe1517d3c61d725a6ac44e9f6 (patch) | |
tree | 54130757b47b29e3147bcc586ff02e441ffa7409 | |
parent | 25e6363e0e7f0ae3e8a6ed91c9733aad39ed98ed (diff) | |
download | ruby-5355a86c64521c7fe1517d3c61d725a6ac44e9f6.tar.gz ruby-5355a86c64521c7fe1517d3c61d725a6ac44e9f6.tar.xz ruby-5355a86c64521c7fe1517d3c61d725a6ac44e9f6.zip |
* struct.c (make_struct): needs meta class.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | struct.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Mon Jan 6 02:32:46 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> + + * struct.c (make_struct): needs meta class. + Sun Jan 5 22:54:05 2003 WATANABE Hirofumi <eban@ruby-lang.org> * lib/fileutils.rb (ln): `argv' is not a argument. @@ -156,6 +156,7 @@ make_struct(name, member, klass) if (NIL_P(name)) { nstr = rb_class_new(klass); + rb_make_metaclass(nstr, RBASIC(klass)->klass); rb_class_inherited(klass, nstr); } else { |