aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/rl78.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/rl78.h')
-rw-r--r--include/opcode/rl78.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/rl78.h b/include/opcode/rl78.h
index 5495c4c..72adf14 100644
--- a/include/opcode/rl78.h
+++ b/include/opcode/rl78.h
@@ -26,6 +26,10 @@
#ifndef RL78_OPCODES_H_INCLUDED
#define RL78_OPCODES_H_INCLUDED
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* For the purposes of these structures, the RL78 registers are as
follows, despite most of these being memory-mapped and
bank-switched: */
@@ -164,4 +168,8 @@ typedef struct
int rl78_decode_opcode (unsigned long, RL78_Opcode_Decoded *, int (*)(void *), void *);
+#ifdef __cplusplus
+}
+#endif
+
#endif