diff --git a/include/Zydis/Decoder.h b/include/Zydis/Decoder.h index dd47360..4eb729a 100644 --- a/include/Zydis/Decoder.h +++ b/include/Zydis/Decoder.h @@ -36,6 +36,18 @@ extern "C" { #endif +/* ============================================================================================== */ +/* Macros */ +/* ============================================================================================== */ + +/* ---------------------------------------------------------------------------------------------- */ +/* Constants */ +/* ---------------------------------------------------------------------------------------------- */ + +#define ZYDIS_MAX_INSTRUCTION_LENGTH 15 + +/* ---------------------------------------------------------------------------------------------- */ + /* ============================================================================================== */ /* Enums and types */ /* ============================================================================================== */ diff --git a/src/Decoder.c b/src/Decoder.c index 7d3d86b..3fda183 100644 --- a/src/Decoder.c +++ b/src/Decoder.c @@ -33,12 +33,6 @@ /* Internal macros */ /* ============================================================================================== */ -/* ---------------------------------------------------------------------------------------------- */ -/* Constants */ -/* ---------------------------------------------------------------------------------------------- */ - -#define ZYDIS_MAX_INSTRUCTION_LENGTH 15 - /* ---------------------------------------------------------------------------------------------- */ /* Helper macros */ /* ---------------------------------------------------------------------------------------------- */