mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use uint16_t for argc and acc of mrb_callinfo
This is because it is enough to express the range up to (-1..255) or (-3..255).
This commit is contained in:
+2
-2
@@ -155,8 +155,8 @@ typedef struct {
|
||||
struct REnv *env;
|
||||
const mrb_code *pc; /* return address */
|
||||
const mrb_code *err; /* error position */
|
||||
mrb_int argc;
|
||||
mrb_int acc;
|
||||
int16_t argc;
|
||||
int16_t acc;
|
||||
struct RClass *target_class;
|
||||
} mrb_callinfo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user