do not need to explicitly assign values for operand types in the last commit
diff --git a/include/xcore.h b/include/xcore.h
index a843e69..e8545a6 100644
--- a/include/xcore.h
+++ b/include/xcore.h
@@ -17,10 +17,10 @@
//> Operand type for instruction's operands
typedef enum xcore_op_type {
- XCORE_OP_INVALID = CS_OP_INVALID, // Uninitialized.
- XCORE_OP_REG = CS_OP_REG, // Register operand.
- XCORE_OP_IMM = CS_OP_IMM, // Immediate operand.
- XCORE_OP_MEM = CS_OP_MEM, // Memory operand
+ XCORE_OP_INVALID = 0, // = CS_OP_INVALID (Uninitialized).
+ XCORE_OP_REG, // = CS_OP_REG (Register operand).
+ XCORE_OP_IMM, // = CS_OP_IMM (Immediate operand).
+ XCORE_OP_MEM, // = CS_OP_MEM (Memory operand).
} xcore_op_type;
// Instruction's operand referring to memory