summaryrefslogtreecommitdiff
path: root/kon/konparty.h
diff options
context:
space:
mode:
authorKonAki <konaki@anokonaki.org>2026-10-13 10:28:17 +0800
committerKonAki <konaki@anokonaki.org>2026-10-13 10:28:17 +0800
commitd3432fcc288a53dff9eb219c8857ca48c5981323 (patch)
treefba5cc730c91d2c674efe6d71dd20e9d6bf7d0d8 /kon/konparty.h
parenta2dc5ca4c659e2d0a9527cd0910bc76b65e6d09f (diff)
headers: extern C guards and C++ safe vector and rect constructors
Diffstat (limited to 'kon/konparty.h')
-rw-r--r--kon/konparty.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kon/konparty.h b/kon/konparty.h
index bf615a2..9994748 100644
--- a/kon/konparty.h
+++ b/kon/konparty.h
@@ -29,6 +29,10 @@
#include "konbattle.h"
#include "konsave.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*** definition ***/
/* the people in a role playing game and what they carry: classes with stats by level, levelling up, equipment, the
@@ -150,4 +154,8 @@ if a load returns 0 the party may be half changed, start again or load a differe
void kon_partySave(const kon_party_t *p, kon_saveWriter_t *w);
int kon_partyLoad(kon_party_t *p, const kon_saveReader_t *r);
+
+#ifdef __cplusplus
+}
+#endif
#endif /* KONPARTY_H */