Merge pull request #137 from sgrif/sg-t-data

Expose `T_DATA` in libcruby
This commit is contained in:
Yehuda Katz 2017-11-28 10:21:17 -05:00 committed by GitHub
commit 7436ff6624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -175,6 +175,9 @@ extern "C" {
#[link_name = "HELIX_T_BIGNUM"]
pub static T_BIGNUM: isize;
#[link_name = "HELIX_T_DATA"]
pub static T_DATA: isize;
// unknown if working?
// fn rb_define_variable(name: c_string, value: *const VALUE);
pub fn rb_obj_class(obj: VALUE) -> VALUE;