diff libmlk-core/mlk/core/game.h @ 469:0d6206cee6b9

core: state -> mlk_state
author David Demelier <markand@malikania.fr>
date Mon, 27 Feb 2023 11:11:23 +0100
parents 5729efd23286
children 6e8f6640e05b
line wrap: on
line diff
--- a/libmlk-core/mlk/core/game.h	Mon Feb 27 11:08:28 2023 +0100
+++ b/libmlk-core/mlk/core/game.h	Mon Feb 27 11:11:23 2023 +0100
@@ -24,15 +24,15 @@
 #include "core.h"
 #include "inhibit.h"
 
-struct state;
+struct mlk_state;
 
 union mlk_event;
 
 struct mlk_game {
 	enum mlk_inhibit inhibit;
-	struct state **states;
+	struct mlk_state **states;
 	size_t statesz;
-	struct state **state;
+	struct mlk_state **state;
 };
 
 extern struct mlk_game game;
@@ -40,10 +40,10 @@
 MLK_CORE_BEGIN_DECLS
 
 void
-mlk_game_init(struct state **, size_t);
+mlk_game_init(struct mlk_state **, size_t);
 
 void
-mlk_game_push(struct state *);
+mlk_game_push(struct mlk_state *);
 
 void
 mlk_game_pop(void);