diff examples/example-ui/example-ui.c @ 469:0d6206cee6b9

core: state -> mlk_state
author David Demelier <markand@malikania.fr>
date Mon, 27 Feb 2023 11:11:23 +0100
parents 01f5580e43d1
children ca30ff96bbe0
line wrap: on
line diff
--- a/examples/example-ui/example-ui.c	Mon Feb 27 11:08:28 2023 +0100
+++ b/examples/example-ui/example-ui.c	Mon Feb 27 11:11:23 2023 +0100
@@ -118,7 +118,7 @@
 	}
 };
 
-static struct state *states[1];
+static struct mlk_state *states[1];
 
 static void
 init(void)
@@ -197,7 +197,7 @@
 }
 
 static void
-handle(struct state *st, const union mlk_event *ev)
+handle(struct mlk_state *st, const union mlk_event *ev)
 {
 	(void)st;
 
@@ -237,7 +237,7 @@
 }
 
 static void
-draw(struct state *st)
+draw(struct mlk_state *st)
 {
 	(void)st;
 
@@ -254,7 +254,7 @@
 static void
 run(void)
 {
-	struct state state = {
+	struct mlk_state state = {
 		.handle = handle,
 		.draw = draw
 	};