summaryrefslogtreecommitdiff
path: root/yjit/src/cruby.rs
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-02-12 09:56:44 -0800
committer<[email protected]>2024-02-12 12:56:44 -0500
commite4d3e652ff41943c7f50d4552c1c98dfaa736cf9 ()
tree417dc5dde586bafdc696f1fb58e7c41076768e92 /yjit/src/cruby.rs
parent94bc5ad30a15685c3c3b0bf19510cf6415ebb935 (diff)
YJIT: Prefer an overloaded cme if available (#9913)
YJIT: Prefer an overloaded cme if applicable
-rw-r--r--yjit/src/cruby.rs4
1 files changed, 4 insertions, 0 deletions
@@ -112,6 +112,10 @@ pub use autogened::*;
// Use bindgen for functions that are defined in headers or in yjit.c.
#[cfg_attr(test, allow(unused))] // We don't link against C code when testing
extern "C" {
pub fn rb_hash_empty_p(hash: VALUE) -> VALUE;
pub fn rb_vm_splat_array(flag: VALUE, ary: VALUE) -> VALUE;
pub fn rb_vm_concat_array(ary1: VALUE, ary2st: VALUE) -> VALUE;