diff libmlk-adventure/adventure/action/spawner.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 e28429dbdaaf
children d01e83210ca2
line wrap: on
line diff
--- a/libmlk-adventure/adventure/action/spawner.h	Fri Jan 08 13:15:24 2021 +0100
+++ b/libmlk-adventure/adventure/action/spawner.h	Fri Mar 05 10:08:09 2021 +0100
@@ -20,6 +20,7 @@
 #define MOLKO_ADVENTURE_ACTION_SPAWNER_H
 
 #include <core/action.h>
+#include <core/core.h>
 
 struct map;
 
@@ -33,10 +34,14 @@
 	int last_y;
 };
 
+CORE_BEGIN_DECLS
+
 void
 spawner_init(struct spawner *);
 
 struct action *
 spawner_action(struct spawner *);
 
+CORE_END_DECLS
+
 #endif /* !MOLKO_ADVENTURE_ACTION_SPAWNER_H */