ZJIT: remove unused rb_RSTRUCT_LEN()

This commit is contained in:
Benoit Daloze 2026-01-11 10:37:30 +01:00
parent 916c0a8105
commit bf36ad9c12
Notes: git 2026-01-12 07:44:59 +00:00
3 changed files with 0 additions and 3 deletions

View File

@ -413,7 +413,6 @@ fn main() {
.allowlist_function("rb_FL_TEST_RAW")
.allowlist_function("rb_RB_TYPE_P")
.allowlist_function("rb_BASIC_OP_UNREDEFINED_P")
.allowlist_function("rb_RSTRUCT_LEN")
.allowlist_function("rb_vm_ci_argc")
.allowlist_function("rb_vm_ci_mid")
.allowlist_function("rb_vm_ci_flag")

View File

@ -198,7 +198,6 @@ pub use rb_FL_TEST as FL_TEST;
pub use rb_FL_TEST_RAW as FL_TEST_RAW;
pub use rb_RB_TYPE_P as RB_TYPE_P;
pub use rb_BASIC_OP_UNREDEFINED_P as BASIC_OP_UNREDEFINED_P;
pub use rb_RSTRUCT_LEN as RSTRUCT_LEN;
pub use rb_vm_ci_argc as vm_ci_argc;
pub use rb_vm_ci_mid as vm_ci_mid;
pub use rb_vm_ci_flag as vm_ci_flag;

View File

@ -2153,7 +2153,6 @@ unsafe extern "C" {
pub fn rb_FL_TEST(obj: VALUE, flags: VALUE) -> VALUE;
pub fn rb_FL_TEST_RAW(obj: VALUE, flags: VALUE) -> VALUE;
pub fn rb_RB_TYPE_P(obj: VALUE, t: ruby_value_type) -> bool;
pub fn rb_RSTRUCT_LEN(st: VALUE) -> ::std::os::raw::c_long;
pub fn rb_get_call_data_ci(cd: *const rb_call_data) -> *const rb_callinfo;
pub fn rb_BASIC_OP_UNREDEFINED_P(bop: ruby_basic_operators, klass: u32) -> bool;
pub fn rb_RCLASS_ORIGIN(c: VALUE) -> VALUE;