summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-11-30 02:41:22 +0900
committerYusuke Endoh <mame@ruby-lang.org>2024-11-30 03:15:03 +0900
commit7f34c75b8beeb3f391a2b381873fc16c6fa1f463 (patch)
tree08866da7719a8d689855b647d0e8be4daf615a76 /include
parentf65a6c090c229de1665af49f2e51fc1d6397ab72 (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 'include')
0 files changed, 0 insertions, 0 deletions