mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* marshal.c (r_object0): don't call user-defined initialize for
T_STRUCT objects. * include/ruby/intern.h (rb_struct_initialize): declared. * struct.c (rb_struct_initialize): export. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c19ebe04e6
commit
a8b4677b14
4 changed files with 12 additions and 2 deletions
2
struct.c
2
struct.c
|
@ -300,7 +300,7 @@ rb_struct_s_def(int argc, VALUE *argv, VALUE klass)
|
|||
/*
|
||||
*/
|
||||
|
||||
static VALUE
|
||||
VALUE
|
||||
rb_struct_initialize(VALUE self, VALUE values)
|
||||
{
|
||||
VALUE klass = rb_obj_class(self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue