Skip to content

Commit 90ca75b

Browse files
committed
Treat RSTRING_END return value as a char* instead of string
`RSTRING_END` expects pointer to return https://github.com/ruby/ruby/blob/v3_4_2/include/ruby/internal/core/rstring.h#L434-L442
1 parent 33d7293 commit 90ca75b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/default.yml.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ function:
8181
<% end %>
8282

8383
pointer_hint:
84+
RSTRING_END:
85+
self: raw
8486
RSTRING_PTR:
8587
self: raw
8688
rb_data_object_make:

0 commit comments

Comments
 (0)