From 1d3b306753baf05642836cc6f17015c9309c1420 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 13 Feb 2024 10:21:22 -0500 Subject: Move rb_class_allocate_instance from gc.c to object.c --- yjit/bindgen/src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'yjit/bindgen/src/main.rs') 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") -- cgit v1.2.3