Skip to content

Thread specific error setter and getter #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ extern "C" {
pub fn ruby_init();
pub fn rb_block_proc() -> Value;
pub fn rb_block_given_p() -> c_int;
pub fn rb_errinfo() -> Value;
pub fn rb_eval_string(string: *const c_char) -> Value;
pub fn rb_eval_string_protect(string: *const c_char, state: *mut c_int) -> Value;
pub fn rb_exc_raise(exception: Value);
pub fn rb_raise(exception: Value, message: *const c_char);
pub fn rb_require(name: *const c_char) -> Value;
pub fn rb_set_errinfo(err: Value);
pub fn rb_protect(func: CallbackPtr, args: *const c_void, state: *mut c_int) -> Value;

#[deprecated(since="0.2.18",
Expand Down