diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-05 08:02:29 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-05 08:02:29 +0000 |
| commit | 05711c45af45f19ce570863786ee2ed7cc6aabc2 (patch) | |
| tree | 12fa46bfedcc8e773c918e4bd7a432453c468997 /spec/ruby/core/array/constructor_spec.rb | |
| parent | 972cf8c91e54bbef5c6d73ed5fc187f8d89735a8 (diff) | |
use `RSTRUCT_CONST_PTR` carefully.
* struct.c: should not use `RSTRUCT_CONST_PTR` with method dispatch
because pointers can be obsolete after method dispatch. `rb_equal()`
and so on can dispatch Ruby's methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core/array/constructor_spec.rb')
0 files changed, 0 insertions, 0 deletions
