use common instruction groups across all architectures. this adds cs_group_type to capstone.h. suggestion by @zneak
diff --git a/include/xcore.h b/include/xcore.h
index e8545a6..ff6a5d2 100644
--- a/include/xcore.h
+++ b/include/xcore.h
@@ -218,9 +218,11 @@
//> Group of XCore instructions
typedef enum xcore_insn_group {
- XCORE_GRP_INVALID = 0,
+ XCORE_GRP_INVALID = 0, // = CS_GRP_INVALID
- XCORE_GRP_JUMP, // all jump instructions (conditional+direct+indirect jumps)
+ //> Generic groups
+ // all jump instructions (conditional+direct+indirect jumps)
+ XCORE_GRP_JUMP, // = CS_GRP_JUMP
XCORE_GRP_ENDING, // <-- mark the end of the list of groups
} xcore_insn_group;