diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2024-11-30 02:41:22 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2024-11-30 03:15:03 +0900 |
| commit | 7f34c75b8beeb3f391a2b381873fc16c6fa1f463 (patch) | |
| tree | 08866da7719a8d689855b647d0e8be4daf615a76 /spec/ruby/core/basicobject/initialize_spec.rb | |
| parent | f65a6c090c229de1665af49f2e51fc1d6397ab72 (diff) | |
Use `RSTRING_PTR` instead of `StringValuePtr`
... since it is certain to be a String in this context.
Also, I want to avoid the anxious use of `StringValuePtr(str)` and
`RSTRING_LEN(str)` as arguments in the same function call.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12216
Diffstat (limited to 'spec/ruby/core/basicobject/initialize_spec.rb')
0 files changed, 0 insertions, 0 deletions
