Merge pull request #5419 from shuujii/remove-unused-struct-in-include-mruby-variable.h

Remove unused struct in `include/mruby/variable.h`
This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-04-20 17:41:26 +09:00
committed by GitHub
-15
View File
@@ -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);