Skip to content

private method and module method added #26

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 1 commit 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
2 changes: 2 additions & 0 deletions src/class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ extern "C" {
pub fn rb_define_const(klass: Value, name: *const c_char, value: Value);
pub fn rb_define_method(klass: Value, name: *const c_char, callback: CallbackPtr, argc: Argc);
pub fn rb_define_module(name: *const c_char) -> Value;
pub fn rb_define_module_function(klass: Value, name: *const c_char, callback: CallbackPtr, argc: Argc);
pub fn rb_define_module_under(outer: Value, name: *const c_char) -> Value;
pub fn rb_define_private_method(klass: Value, name: *const c_char, callback: CallbackPtr, argc: Argc);
pub fn rb_extend_object(object: Value, module: Value);
pub fn rb_include_module(klass: Value, module: Value);
pub fn rb_ivar_get(object: Value, name: Id) -> Value;
Expand Down