aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/bruiserffi.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bruiser/bruiserffi.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/bruiser/bruiserffi.h b/bruiser/bruiserffi.h
index 567a6f6..c06ecda 100644
--- a/bruiser/bruiserffi.h
+++ b/bruiser/bruiserffi.h
@@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/
/**********************************************************************************************************************/
-//#include <capstone/capstone.h>
#include <ffi.h>
#include <stdint.h>
/**********************************************************************************************************************/
@@ -33,15 +32,15 @@ extern "C" {
X ffi_reinterpret_##X(void* result);
#define X_LIST_GEN \
- X(uint8_t, "uint8_t")\
- X(uint16_t, "uint8_t")\
- X(uint32_t, "uint8_t")\
- X(uint64_t, "uint8_t")\
- X(int8_t, "uint8_t")\
- X(int16_t, "uint8_t")\
- X(int32_t, "uint8_t")\
- X(int64_t, "uint8_t")\
- X(uintptr_t, "uint8_t")\
+ X(uint8_t, "for uint8_t")\
+ X(uint16_t, "for uint16_t")\
+ X(uint32_t, "for uint32_t")\
+ X(uint64_t, "for uint64_t")\
+ X(int8_t, "for int8_t")\
+ X(int16_t, "for int16_t")\
+ X(int32_t, "for int32_t")\
+ X(int64_t, "for int64_t")\
+ X(uintptr_t, "for pointers")\
#define X(X1,X2) REINTERPRET_GENERATOR(X1)
X_LIST_GEN