summaryrefslogtreecommitdiff
path: root/disasm.h
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2013-11-09 22:16:11 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2013-11-24 13:20:59 +0400
commit0835915c1dba4e96e91dcb62672720d963b7a8c7 (patch)
tree193a82be4fc382fd9d7451129c7a7766cd2dc6eb /disasm.h
parentd4e51d3e718a6bcf19151ed90caec1754ea94dec (diff)
downloadnasm-0835915c1dba4e96e91dcb62672720d963b7a8c7.tar.gz
nasm-0835915c1dba4e96e91dcb62672720d963b7a8c7.tar.bz2
nasm-0835915c1dba4e96e91dcb62672720d963b7a8c7.zip
iflag: Start using new instruction flags engine
Here we start using instruction flags generator. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'disasm.h')
-rw-r--r--disasm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/disasm.h b/disasm.h
index 70a9a7b..fa6e2e2 100644
--- a/disasm.h
+++ b/disasm.h
@@ -38,10 +38,12 @@
#ifndef NASM_DISASM_H
#define NASM_DISASM_H
+#include "iflag.h"
+
#define INSN_MAX 32 /* one instruction can't be longer than this */
int32_t disasm(uint8_t *data, char *output, int outbufsize, int segsize,
- int32_t offset, int autosync, iflags_t prefer);
+ int32_t offset, int autosync, iflag_t *prefer);
int32_t eatbyte(uint8_t *data, char *output, int outbufsize, int segsize);
#endif