diff libmlk-core/mlk/core/action.h @ 450:b26dd49f69ff

core: event -> mlk_event (and friends)
author David Demelier <markand@malikania.fr>
date Sat, 18 Feb 2023 13:37:11 +0100
parents 773a082f0b91
children 5729efd23286
line wrap: on
line diff
--- a/libmlk-core/mlk/core/action.h	Sat Feb 18 13:16:40 2023 +0100
+++ b/libmlk-core/mlk/core/action.h	Sat Feb 18 13:37:11 2023 +0100
@@ -21,11 +21,11 @@
 
 #include "core.h"
 
-union event;
+union mlk_event;
 
 struct mlk_action {
 	void *data;
-	void (*handle)(struct mlk_action *, const union event *);
+	void (*handle)(struct mlk_action *, const union mlk_event *);
 	int (*update)(struct mlk_action *, unsigned int);
 	void (*draw)(struct mlk_action *);
 	void (*end)(struct mlk_action *);
@@ -35,7 +35,7 @@
 CORE_BEGIN_DECLS
 
 void
-mlk_action_handle(struct mlk_action *, const union event *);
+mlk_action_handle(struct mlk_action *, const union mlk_event *);
 
 int
 mlk_action_update(struct mlk_action *, unsigned int);