Reorder members of `struct os_each_object_data` to stop warnings.

`mrb_value` may or may not be struct according to configuration.
parent 00337543
...@@ -112,9 +112,9 @@ os_count_objects(mrb_state *mrb, mrb_value self) ...@@ -112,9 +112,9 @@ os_count_objects(mrb_state *mrb, mrb_value self)
} }
struct os_each_object_data { struct os_each_object_data {
mrb_value block;
struct RClass *target_module; struct RClass *target_module;
mrb_int count; mrb_int count;
mrb_value block;
}; };
static int static int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment