Skip to content

mrb_method_search_vm

cremno edited this page Sep 11, 2013 · 2 revisions

mrb_method_search_vm

Declaration Definition
class.h class.c
struct RProc *mrb_method_search_vm(mrb_state *mrb, struct RClass **klass, mrb_sym name);

Searches for name in the method tables of *klass and its superclasses.

Parameters

  • mrb: mruby VM state
  • klass: class to search
  • name: name of the method

Return value

Proc of the method or NULL if it was not found.

See also

Clone this wiki locally