Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config/default.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ function:
<% end %>

pointer_hint:
RSTRING_END:
self: raw
RSTRING_PTR:
self: raw
rb_data_object_make:
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_header_parser/parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@

its(:name) { should eq "RSTRING_END" }
its(:definition) { should eq "RSTRING_END(VALUE str)" }
its(:typeref) { should eq typeref(type: "char", pointer: :ref) }
its(:typeref) { should eq typeref(type: "char", pointer: :raw) }
its(:args) { should eq args }
end

Expand Down