We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19ac7d6 commit d87b8abCopy full SHA for d87b8ab
_tools/ruby_h_to_go/spec/ruby_h_to_go/function_definition_spec.rb
@@ -304,7 +304,7 @@
304
RubyHeaderParser::FunctionDefinition.new(
305
name: "RSTRING_END",
306
definition: "RSTRING_END(VALUE str)",
307
- typeref: typeref(type: "char", pointer: :ref),
+ typeref: typeref(type: "char", pointer: :raw),
308
args: [
309
argument(type: "VALUE", name: "str"),
310
],
@@ -318,8 +318,8 @@
318
// Original definition is following
319
//
320
// RSTRING_END(VALUE str)
321
- func RSTRING_END(str VALUE) string {
322
- return char2String(C.RSTRING_END(C.VALUE(str)))
+ func RSTRING_END(str VALUE) *Char {
+ return (*Char)(C.RSTRING_END(C.VALUE(str)))
323
}
324
325
GO
0 commit comments