summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-04-20 17:41:26 +0900
committerGitHub <[email protected]>2021-04-20 17:41:26 +0900
commitbf11f87599debd0fb808dfb3724ff6c513b28a27 (patch)
treee0ea4419e8a6a72258a070993a5d7065353c880f
parentbd66115257cf3f0e3759c542a949c25e5e484737 (diff)
parent903fbd767a7f917369d11911d905cb90e4f577ad (diff)
downloadmruby-bf11f87599debd0fb808dfb3724ff6c513b28a27.tar.gz
mruby-bf11f87599debd0fb808dfb3724ff6c513b28a27.zip
Merge pull request #5419 from shuujii/remove-unused-struct-in-include-mruby-variable.h
Remove unused struct in `include/mruby/variable.h`
-rw-r--r--include/mruby/variable.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/mruby/variable.h b/include/mruby/variable.h
index 01a44fff9..3dc2c9a6d 100644
--- a/include/mruby/variable.h
+++ b/include/mruby/variable.h
@@ -14,21 +14,6 @@
*/
MRB_BEGIN_DECL
-typedef struct global_variable {
- int counter;
- mrb_value *data;
- mrb_value (*getter)(void);
- void (*setter)(void);
- /* void (*marker)(); */
- /* int block_trace; */
- /* struct trace_var *trace; */
-} global_variable;
-
-struct global_entry {
- global_variable *var;
- mrb_sym id;
-};
-
mrb_value mrb_vm_special_get(mrb_state*, mrb_sym);
void mrb_vm_special_set(mrb_state*, mrb_sym, mrb_value);
mrb_value mrb_vm_cv_get(mrb_state*, mrb_sym);