rename MNEMONIC_SIZE to CS_MNEMONIC_SIZE

This commit is contained in:
Nguyen Anh Quynh 2015-04-27 09:47:59 +08:00
parent c0b1de3c61
commit de654dd238
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ struct customized_mnem {
// ID of instruction to be customized.
unsigned int id;
// Customized instruction mnemonic.
char mnemonic[MNEMONIC_SIZE];
char mnemonic[CS_MNEMONIC_SIZE];
};
struct insn_mnem {

View File

@ -57,7 +57,7 @@ extern "C" {
// result of cs_version() API.
#define CS_MAKE_VERSION(major, minor) ((major << 8) + minor)
#define MNEMONIC_SIZE 32
#define CS_MNEMONIC_SIZE 32
// Handle using with all API
typedef size_t csh;
@ -284,7 +284,7 @@ typedef struct cs_insn {
// Ascii text of instruction mnemonic
// This information is available even when CS_OPT_DETAIL = CS_OPT_OFF
char mnemonic[MNEMONIC_SIZE];
char mnemonic[CS_MNEMONIC_SIZE];
// Ascii text of instruction operands
// This information is available even when CS_OPT_DETAIL = CS_OPT_OFF