mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fixed prototype: g++ will complain about definition not being a prototype, should work with GCC and VC as well
This commit is contained in:
@@ -14,8 +14,8 @@ extern "C" {
|
||||
typedef struct global_variable {
|
||||
int counter;
|
||||
mrb_value *data;
|
||||
mrb_value (*getter)();
|
||||
void (*setter)();
|
||||
mrb_value (*getter)(void);
|
||||
void (*setter)(void);
|
||||
//void (*marker)();
|
||||
//int block_trace;
|
||||
//struct trace_var *trace;
|
||||
|
||||
Reference in New Issue
Block a user