1use super::prelude::*;
2
3extern "C" {
4 pub fn ruby_cleanup(ex: c_int) -> c_int;
6 pub fn ruby_init_loadpath();
8 pub fn ruby_setup() -> c_int;
10
11 pub fn rb_safe_level() -> c_int;
13 pub fn rb_set_safe_level(level: c_int);
15
16 pub fn rb_require_safe(fname: VALUE, safe: c_int) -> VALUE;
18
19 pub fn rb_load(fname: VALUE, wrap: c_int);
21 pub fn rb_load_protect(fname: VALUE, wrap: c_int, pstate: *mut c_int);
23
24 pub fn rb_eval_string(str: *const c_char) -> VALUE;
26 pub fn rb_eval_string_protect(str: *const c_char, pstate: *mut c_int) -> VALUE;
28 pub fn rb_eval_string_wrap(str: *const c_char, pstate: *mut c_int) -> VALUE;
30
31 pub fn rb_make_backtrace() -> VALUE;
33}