From a8b4677b144e30ad764a108459c27102fa087826 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 8 Sep 2007 16:19:13 +0000 Subject: * 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 --- struct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'struct.c') diff --git a/struct.c b/struct.c index 671788fc10..57050b7422 100644 --- a/struct.c +++ b/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); -- cgit v1.2.3