diff libmlk-adventure/adventure/state/battle.h @ 292:08ab73b32832

misc: add extern "C" {} blocks for C++ friends
author David Demelier <markand@malikania.fr>
date Fri, 05 Mar 2021 10:08:09 +0100
parents 3991779aaba9
children d01e83210ca2
line wrap: on
line diff
--- a/libmlk-adventure/adventure/state/battle.h	Fri Jan 08 13:15:24 2021 +0100
+++ b/libmlk-adventure/adventure/state/battle.h	Fri Mar 05 10:08:09 2021 +0100
@@ -19,10 +19,16 @@
 #ifndef MOLKO_ADVENTURE_STATE_BATTLE_H
 #define MOLKO_ADVENTURE_STATE_BATTLE_H
 
+#include <core/core.h>
+
 struct battle;
 struct state;
 
+CORE_BEGIN_DECLS
+
 struct state *
 state_battle_new(struct battle *);
 
+CORE_END_DECLS
+
 #endif /* !MOLKO_ADVENTURE_STATE_BATTLE_H */