mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f70ffbee21
commit
6a3fdf70f1
7 changed files with 93 additions and 26 deletions
2
struct.c
2
struct.c
|
@ -149,7 +149,6 @@ make_struct(name, member)
|
|||
}
|
||||
rb_define_method_id(nstr, id_attrset(id), struct_set, 1);
|
||||
}
|
||||
FL_SET(nstr, FL_PRIMITIVE);
|
||||
|
||||
return nstr;
|
||||
}
|
||||
|
@ -430,5 +429,4 @@ Init_Struct()
|
|||
rb_define_method(cStruct, "[]=", struct_aset, 2);
|
||||
|
||||
rb_define_method(cStruct, "members", struct_members, 0);
|
||||
FL_SET(cStruct, FL_PRIMITIVE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue