diff libmlk-core/core/action.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 c4da052c0def
children 196264679079
line wrap: on
line diff
--- a/libmlk-core/core/action.h	Fri Jan 08 13:15:24 2021 +0100
+++ b/libmlk-core/core/action.h	Fri Mar 05 10:08:09 2021 +0100
@@ -21,6 +21,8 @@
 
 #include <stdbool.h>
 
+#include "core.h"
+
 #define ACTION_STACK_MAX (128)
 
 union event;
@@ -38,6 +40,8 @@
 	struct action *actions[ACTION_STACK_MAX];
 };
 
+CORE_BEGIN_DECLS
+
 void
 action_handle(struct action *act, const union event *ev);
 
@@ -74,4 +78,6 @@
 void
 action_stack_finish(struct action_stack *st);
 
+CORE_END_DECLS
+
 #endif /* !MOLKO_CORE_ACTION_H */