diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-21 08:41:09 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-21 08:41:09 +0000 |
commit | 42e7ea3f1b5343a01e7dcb0a546a153913be72c2 (patch) | |
tree | 290f5b7d1ff924b1517341a59bd4efa5928bab15 /struct.c | |
parent | 0a22a40a5422a027da3be1ebe9795e294ddb47cc (diff) |
ruby 1.1b9_13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'struct.c')
-rw-r--r-- | struct.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -381,7 +381,7 @@ struct_aref(s, idx) return RSTRUCT(s)->ptr[i]; } -VALUE +static VALUE struct_aset_id(s, id, val) VALUE s, val; ID id; @@ -412,7 +412,7 @@ struct_aset(s, idx, val) int i; if (TYPE(idx) == T_STRING) { - return struct_aref_id(s, rb_to_id(idx)); + return struct_aset_id(s, rb_to_id(idx), val); } i = NUM2INT(idx); |