Skip to content

Commit 613c217

Browse files
committed
Fixed cannot use _cgo3 (variable of type unsafe.Pointer) as *unsafe.Pointer value in argument to _Cfunc_rb_data_object_make
1 parent 1271492 commit 613c217

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

_tools/ruby_h_to_go/lib/ruby_header_parser/data.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ function:
5656
- rb_gc_guarded_ptr_val
5757

5858
pointer_hint:
59+
rb_data_object_make:
60+
4: sref
5961
rb_data_typed_object_make:
6062
3: sref
6163
rb_define_global_function:

ruby/function_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)