diff options
author | Peter Zhu <[email protected]> | 2024-02-13 10:21:22 -0500 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-02-14 13:43:02 -0500 |
commit | 1d3b306753baf05642836cc6f17015c9309c1420 (patch) | |
tree | a47d7afdfd1f2a326cb6d1f70cea5e5e7aa7ccb0 /yjit/bindgen | |
parent | fc2c128e7e1fd4a197669d2f04e8457f4188b7f3 (diff) |
Move rb_class_allocate_instance from gc.c to object.c
Diffstat (limited to 'yjit/bindgen')
-rw-r--r-- | yjit/bindgen/src/main.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs index 0824e80cd0..ffe56619cc 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -38,6 +38,7 @@ fn main() { .clang_args(filtered_clang_args) .header("encindex.h") .header("internal.h") + .header("internal/object.h") .header("internal/re.h") .header("include/ruby/ruby.h") .header("shape.h") @@ -375,8 +376,10 @@ fn main() { // From include/ruby/internal/intern/vm.h .allowlist_function("rb_get_alloc_func") - // From gc.h and internal/gc.h + // From internal/object.h .allowlist_function("rb_class_allocate_instance") + + // From gc.h and internal/gc.h .allowlist_function("rb_obj_info") .allowlist_function("ruby_xfree") |