summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-12-20 07:35:34 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2012-12-20 07:35:34 -0800
commite48ed9c9649340544156dba57e3a6f29f536066b (patch)
tree6d4e2ebcc3332897df0d7abc1a2bca9f8516d566 /include
parent3c28241bd76466bafec5555028283e3fc6f2799a (diff)
parente6a47323b8d67fdf85f095c30b2d66a00d2d2ca5 (diff)
downloadmruby-e48ed9c9649340544156dba57e3a6f29f536066b.tar.gz
mruby-e48ed9c9649340544156dba57e3a6f29f536066b.zip
Merge pull request #655 from skandhas/pr-add-Module_class_variable_get
Add Module#class_variable_get for mruby
Diffstat (limited to 'include')
-rw-r--r--include/mruby/variable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mruby/variable.h b/include/mruby/variable.h
index 7189ef690..8754e8a90 100644
--- a/include/mruby/variable.h
+++ b/include/mruby/variable.h
@@ -55,6 +55,8 @@ mrb_value mrb_obj_instance_variables(mrb_state*, mrb_value);
mrb_value mrb_obj_iv_inspect(mrb_state*, struct RObject*);
mrb_sym mrb_class_sym(mrb_state *mrb, struct RClass *c, struct RClass *outer);
mrb_value mrb_mod_class_variables(mrb_state*, mrb_value);
+mrb_value mrb_mod_cv_get(mrb_state *mrb, struct RClass * c, mrb_sym sym);
+mrb_value mrb_cv_get(mrb_state *mrb, mrb_value mod, mrb_sym sym);
/* GC functions */
void mrb_gc_mark_gv(mrb_state*);