You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-5Lines changed: 18 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,11 +122,24 @@ Most of the methods defined in `ruby.h` are automatically generated and defined
122
122
123
123
However, some of the methods listed below are not supported.
124
124
125
-
1. deprecated or internal methods
126
-
* See `function.exclude_name` in https://github.com/ruby-go-gem/ruby_header_parser/blob/main/config/default.yml
127
-
2. Methods with variable-length arguments
128
-
* Because Go's variable-length arguments couldn't be passed directly to C.
129
-
* However, it is possible to execute functions with variable length arguments in CRuby from Go with a hack like `RbRaise` in [ruby/ruby_internal_error.go](ruby/ruby_internal_error.go)
125
+
#### 1. deprecated or internal methods
126
+
See `function.exclude_name` in https://github.com/ruby-go-gem/ruby_header_parser/blob/main/config/default.yml
127
+
128
+
#### 2. Methods with variable-length arguments
129
+
Because Go's variable-length arguments couldn't be passed directly to C.
130
+
131
+
However, it is possible to execute functions with variable length arguments in CRuby from Go with a hack like `RbRaise` in [ruby/ruby_internal_error.go](ruby/ruby_internal_error.go)
132
+
133
+
#### 3. Macro functions
134
+
https://github.com/ruby-go-gem/ruby_header_parser parses the preprocessed `ruby.h`. [^preprocessed]
0 commit comments