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