diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-08 16:19:13 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-08 16:19:13 +0000 |
commit | a8b4677b144e30ad764a108459c27102fa087826 (patch) | |
tree | 182a27977b2a9f04be832cda1e68b8b12f6be73b /include/ruby | |
parent | c19ebe04e6a7842b9e6986c3616be409c9491b35 (diff) | |
download | ruby-a8b4677b144e30ad764a108459c27102fa087826.tar.gz |
* 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
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index ecfbe95a8a..7391845e2d 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -531,6 +531,7 @@ VALUE rb_str_length(VALUE); VALUE rb_struct_new(VALUE, ...); VALUE rb_struct_define(const char*, ...); VALUE rb_struct_alloc(VALUE, VALUE); +VALUE rb_struct_initialize(VALUE, VALUE); VALUE rb_struct_aref(VALUE, VALUE); VALUE rb_struct_aset(VALUE, VALUE, VALUE); VALUE rb_struct_getmember(VALUE, ID); |