diff options
| author | Garrett Cox <garrettjcox@gmail.com> | 2024-11-21 20:20:37 -0600 |
|---|---|---|
| committer | Garrett Cox <garrettjcox@gmail.com> | 2024-11-21 20:20:37 -0600 |
| commit | 6b71793b4f0b430c9624af04eab59e490c8b7993 (patch) | |
| tree | c984e903221d48eee715ea2f7f4d131678c46aa3 /include | |
| parent | 318a6d713fa3011523cfc813f64251e86301deed (diff) | |
Fix clang compiler issues
Diffstat (limited to 'include')
| -rw-r--r-- | include/objects.h | 8 |
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 |
