NULLABLE annotation

This commit is contained in:
2024-11-16 17:55:07 +05:00
parent 9da8732d93
commit b8296a45a7
6 changed files with 9 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ typedef struct Instruction {
/// @brief get instruction info from table
/// @param opcode any byte
/// @return ptr to struct or NULL
const Instruction* Instruction_getFromOpcode(u8 opcode);
NULLABLE(const Instruction* Instruction_getFromOpcode(u8 opcode));
i32 NOP_impl(VM* vm, size_t pos);
i32 PUSH_impl(VM* vm, size_t pos);