diff options
| author | h2so5 <[email protected]> | 2013-07-01 11:42:38 +0900 |
|---|---|---|
| committer | h2so5 <[email protected]> | 2013-07-01 11:50:13 +0900 |
| commit | 3f823a0ceeadcba48a332b5d89f867b23c2d332b (patch) | |
| tree | f7be6558361cd3b2500ed897b2b4984a95f8b899 /include | |
| parent | b58cd82dc7ce040e3aada5dfd908b794e717aa44 (diff) | |
| download | mruby-3f823a0ceeadcba48a332b5d89f867b23c2d332b.tar.gz mruby-3f823a0ceeadcba48a332b5d89f867b23c2d332b.zip | |
Add mrb_class_get_under()
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h index 568ed4876..b602ba8c9 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -178,6 +178,7 @@ struct RClass * mrb_class_new(mrb_state *mrb, struct RClass *super); struct RClass * mrb_module_new(mrb_state *mrb); int mrb_class_defined(mrb_state *mrb, const char *name); struct RClass * mrb_class_get(mrb_state *mrb, const char *name); +struct RClass * mrb_class_get_under(mrb_state *mrb, struct RClass *outer, const char *name); mrb_value mrb_obj_dup(mrb_state *mrb, mrb_value obj); mrb_value mrb_check_to_integer(mrb_state *mrb, mrb_value val, const char *method); |
