Sha256: 9d502b26b5be29b89990dbe39e72b0c40811eb3417435edf2129019922df281e

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 Bytes

Contents

//! Hidden symbols from Ruby that we need to link to, not exposed to users.
//!
//! Note: Using these symbols is an absolute last resort. Try to use the
//! official Ruby C API if at all possible.

extern "C" {
    /// A pointer to the current Ruby VM.
    #[cfg(all(ruby_gt_2_4, ruby_lte_3_2))]
    #[cfg(ruby_engine = "mri")]
    pub(crate) static ruby_current_vm_ptr: *mut crate::ruby_vm_t;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/rb-sys-0.9.108/src/hidden.rs
wasmtime-28.0.0 ./ext/cargo-vendor/rb-sys-0.9.108/src/hidden.rs
wasmtime-27.0.0 ./ext/cargo-vendor/rb-sys-0.9.103/src/hidden.rs