diff options
| author | skandhas <[email protected]> | 2012-12-21 14:22:35 +0800 |
|---|---|---|
| committer | skandhas <[email protected]> | 2012-12-21 14:22:35 +0800 |
| commit | 824bacbee4beea7755e815a4aa733cb05f95268b (patch) | |
| tree | b21698cbadc5f693827d1420f4ba5e052e64eb71 /include | |
| parent | e48ed9c9649340544156dba57e3a6f29f536066b (diff) | |
| download | mruby-824bacbee4beea7755e815a4aa733cb05f95268b.tar.gz mruby-824bacbee4beea7755e815a4aa733cb05f95268b.zip | |
add mrb_mod_cv_set, mrb_cv_set
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/variable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mruby/variable.h b/include/mruby/variable.h index 8754e8a90..9f4a62317 100644 --- a/include/mruby/variable.h +++ b/include/mruby/variable.h @@ -57,6 +57,8 @@ 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); +void mrb_mod_cv_set(mrb_state *mrb, struct RClass * c, mrb_sym sym, mrb_value v); +void mrb_cv_set(mrb_state *mrb, mrb_value mod, mrb_sym sym, mrb_value v); /* GC functions */ void mrb_gc_mark_gv(mrb_state*); |
