mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user