We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f768c7a commit 891cffdCopy full SHA for 891cffd
arch/M680X/M680XDisassembler.c
@@ -103,12 +103,11 @@ typedef enum e_access_mode {
103
} e_access_mode;
104
105
// Access type values are compatible with enum cs_ac_type:
106
-typedef enum e_access {
107
- UNCHANGED = CS_AC_INVALID,
108
- READ = CS_AC_READ,
109
- WRITE = CS_AC_WRITE,
110
- MODIFY = (CS_AC_READ | CS_AC_WRITE),
111
-} e_access;
+typedef cs_ac_type e_access;
+#define UNCHANGED CS_AC_INVALID
+#define READ CS_AC_READ
+#define WRITE CS_AC_WRITE
+#define MODIFY CS_AC_READ_WRITE
112
113
/* Properties of one instruction in PAGE1 (without prefix) */
114
typedef struct inst_page1 {
0 commit comments