From 903fbd767a7f917369d11911d905cb90e4f577ad Mon Sep 17 00:00:00 2001 From: KOBAYASHI Shuji Date: Tue, 20 Apr 2021 16:53:11 +0900 Subject: Remove unused struct in `include/mruby/variable.h` --- include/mruby/variable.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'include') 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); -- cgit v1.2.3