mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Unified target_class and env of mrb_callinfo
If there is `env`, `env->c` means `target_class`.
This commit is contained in:
+4
-2
@@ -152,12 +152,14 @@ typedef struct {
|
||||
mrb_sym mid;
|
||||
const struct RProc *proc;
|
||||
mrb_value *stackent;
|
||||
struct REnv *env;
|
||||
const mrb_code *pc; /* return address */
|
||||
const mrb_code *err; /* error position */
|
||||
int16_t argc;
|
||||
int16_t acc;
|
||||
struct RClass *target_class;
|
||||
union {
|
||||
struct REnv *env;
|
||||
struct RClass *target_class;
|
||||
} u;
|
||||
} mrb_callinfo;
|
||||
|
||||
enum mrb_fiber_state {
|
||||
|
||||
Reference in New Issue
Block a user