diff libmlk-rpg/rpg/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 9948e288925b
children 196264679079
line wrap: on
line diff
--- a/libmlk-rpg/rpg/battle.h	Fri Jan 08 13:15:24 2021 +0100
+++ b/libmlk-rpg/rpg/battle.h	Fri Mar 05 10:08:09 2021 +0100
@@ -22,6 +22,7 @@
 #include <stdbool.h>
 
 #include <core/action.h>
+#include <core/core.h>
 #include <core/drawable.h>
 
 #include <ui/frame.h>
@@ -78,6 +79,8 @@
 	struct battle_bar bar;
 };
 
+CORE_BEGIN_DECLS
+
 void
 battle_start(struct battle *);
 
@@ -117,4 +120,6 @@
 void
 battle_finish(struct battle *);
 
+CORE_END_DECLS
+
 #endif /* MOLKO_RPG_BATTLE_H */