diff options
Diffstat (limited to 'include/opcode/rx.h')
-rw-r--r-- | include/opcode/rx.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/rx.h b/include/opcode/rx.h index e4fe05d..41557b2 100644 --- a/include/opcode/rx.h +++ b/include/opcode/rx.h @@ -23,6 +23,10 @@ analyzer, and the disassembler. Given an opcode data source, it decodes the next opcode into the following structures. */ +#ifdef __cplusplus +extern "C" { +#endif + typedef enum { RX_AnySize = 0, @@ -212,3 +216,7 @@ typedef struct registers. 32..47 are condition codes. */ int rx_decode_opcode (unsigned long, RX_Opcode_Decoded *, int (*)(void *), void *); + +#ifdef __cplusplus +} +#endif |