summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/objects.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/objects.h b/include/objects.h
index c3ee37a1b..d4da8cd95 100644
--- a/include/objects.h
+++ b/include/objects.h
@@ -4,6 +4,10 @@
#include "spline.h"
#include <common_structs.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define OBJECT_LIST_SIZE 0x226
#define SOME_OBJECT_INDEX_LIST_SIZE 32
@@ -451,4 +455,8 @@ extern s8 D_8018D230;
//! Some sort of limiter on how many of some object type can spawn
extern s32 D_8018D3C4;
+#ifdef __cplusplus
+}
+#endif
+
#endif