Reorder members in struct backtrace_location

`sizeof(struct backtrace_location)` is 24 bytes -> 16 bytes in LP64
data model etc.
This commit is contained in:
KOBAYASHI Shuji
2019-02-18 16:38:56 +09:00
parent 3e0d29b7be
commit a28d714398
+1 -1
View File
@@ -17,8 +17,8 @@
struct backtrace_location {
int lineno;
const char *filename;
mrb_sym method_id;
const char *filename;
};
typedef void (*each_backtrace_func)(mrb_state*, struct backtrace_location*, void*);