mie: implement value type initialiser functions

This commit is contained in:
2025-04-11 13:40:54 +01:00
parent 98d82de47a
commit 377444ef59
10 changed files with 424 additions and 7 deletions

8
mie/instr.c Normal file
View File

@@ -0,0 +1,8 @@
#include <mie/instr.h>
void mie_instr_init(struct mie_instr *instr, enum mie_instr_type type)
{
memset(instr, 0x0, sizeof *instr);
mie_value_init(&instr->i_base, MIE_VALUE_INSTR);
instr->i_type = type;
}