mie: implement value type initialiser functions
This commit is contained in:
8
mie/instr.c
Normal file
8
mie/instr.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user