forked from mruby/mruby
-
Notifications
You must be signed in to change notification settings - Fork 0
mrb_define_method_raw
cremno edited this page Sep 11, 2013
·
2 revisions
| Declaration | Definition |
|---|---|
| class.h | class.c |
void mrb_define_method_raw(mrb_state *mrb, struct RClass *klass, mrb_sym name, struct RProc *proc);Defines a method.
- mrb: mruby VM state
- klass: class of the method
- name: name of the method
- proc: a proc
None.