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 2420fd4 commit a74e6d1Copy full SHA for a74e6d1
sig/ruby_header_parser/data.rbs
@@ -0,0 +1,19 @@
1
+module RubyHeaderParser
2
+ class Data
3
+ attr_reader data: Hash[untyped, untyped]
4
+
5
+ def initialize: () -> void
6
7
+ def function_arg_pointer_hint: (function_name: String, pos: Integer) -> (:ref | :array | :ref_array | :function | :sref | :str_array | :in_ref)
8
9
+ def function_self_pointer_hint: (String function_name) -> (:ref | :raw)
10
11
+ def should_generate_function?: (String function_name) -> bool
12
13
+ def should_generate_struct?: (String struct_name) -> bool
14
15
+ def should_generate_type?: (String type_name) -> bool
16
17
+ def should_generate_enum?: (String enum_name) -> bool
18
+ end
19
+end
0 commit comments