cstr -> str where possible
This commit is contained in:
@@ -19,13 +19,13 @@ typedef enum __attribute__((__packed__)) Opcode {
|
||||
} Opcode;
|
||||
|
||||
typedef struct Instruction {
|
||||
cstr name;
|
||||
str name;
|
||||
InstructionImplFunc_t implementation;
|
||||
Opcode opcode;
|
||||
} Instruction;
|
||||
|
||||
#define Instruction_construct(NAME) {\
|
||||
.name = #NAME, \
|
||||
.name = STR(#NAME), \
|
||||
.implementation = NAME##_impl, \
|
||||
.opcode = Opcode_##NAME\
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user