summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-04-02 01:23:41 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-04-02 01:23:41 +0900
commit013be527e65fa0b93db49b6d89550700b4fe80cc (patch)
treeb5ca9513f5326594f9704d1ea443a056a10421b8 /include
parent7c2f68862ea9cc58f62cbe2b87b4c4dc2b0294f5 (diff)
downloadmruby-013be527e65fa0b93db49b6d89550700b4fe80cc.tar.gz
mruby-013be527e65fa0b93db49b6d89550700b4fe80cc.zip
add Module#constants (15.2.2.4.24)
Diffstat (limited to 'include')
-rw-r--r--include/mruby/variable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/variable.h b/include/mruby/variable.h
index f699f5dfd..2845e0daa 100644
--- a/include/mruby/variable.h
+++ b/include/mruby/variable.h
@@ -49,6 +49,7 @@ mrb_bool mrb_iv_defined(mrb_state*, mrb_value, mrb_sym);
mrb_value mrb_iv_remove(mrb_state *mrb, mrb_value obj, mrb_sym sym);
void mrb_iv_copy(mrb_state *mrb, mrb_value dst, mrb_value src);
int mrb_const_defined_at(mrb_state *mrb, struct RClass *klass, mrb_sym id);
+mrb_value mrb_mod_constants(mrb_state *mrb, mrb_value mod);
mrb_value mrb_f_global_variables(mrb_state *mrb, mrb_value self);
mrb_value mrb_gv_get(mrb_state *mrb, mrb_sym sym);
void mrb_gv_set(mrb_state *mrb, mrb_sym sym, mrb_value val);