mie: add selector as a mie_value const type

This commit is contained in:
2025-04-15 11:00:10 +01:00
parent 8eb6277403
commit e0ff9a46ea
3 changed files with 3 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ struct mie_const {
double v_float; double v_float;
char *v_str; char *v_str;
char *v_atom; char *v_atom;
char *v_selector;
} c_v; } c_v;
}; };

View File

@@ -8,7 +8,7 @@ struct mie_msg {
struct mie_instr msg_base; struct mie_instr msg_base;
struct mie_type *msg_ret_type; struct mie_type *msg_ret_type;
struct mie_value *msg_recipient; struct mie_value *msg_recipient;
const char *msg_name; struct mie_value *msg_selector;
b_queue msg_args; b_queue msg_args;
}; };

View File

@@ -15,6 +15,7 @@ enum mie_type_id {
MIE_TYPE_CLASS = 0x06u, MIE_TYPE_CLASS = 0x06u,
MIE_TYPE_ARRAY = 0x08u, MIE_TYPE_ARRAY = 0x08u,
MIE_TYPE_LABEL = 0x09u, MIE_TYPE_LABEL = 0x09u,
MIE_TYPE_SELECTOR = 0x0Au,
__MIE_TYPE_COUNT, __MIE_TYPE_COUNT,
}; };