diff tests/test-action-script.c @ 500:d7855791a2b8

examples: prefix mlk
author David Demelier <markand@malikania.fr>
date Tue, 28 Feb 2023 15:35:17 +0100
parents d3ea59fce7dc
children a11cd7ea3a37
line wrap: on
line diff
--- a/tests/test-action-script.c	Tue Feb 28 13:50:35 2023 +0100
+++ b/tests/test-action-script.c	Tue Feb 28 15:35:17 2023 +0100
@@ -155,7 +155,7 @@
 		{ .act = INIT(&table[2].inv, my_update_false)   }
 	};
 
-	struct mlk_action array[3] = {0};
+	struct mlk_action *array[3] = {0};
 	struct mlk_action_script sc = {0};
 
 	mlk_action_script_init(&sc, array, 3);
@@ -237,7 +237,7 @@
 		{ .act = INIT(&table[2].inv, my_update_false)   }
 	};
 
-	struct mlk_action array[3];
+	struct mlk_action *array[3];
 	struct mlk_action_script sc = {0};
 
 	mlk_action_script_init(&sc, array, 3);
@@ -350,7 +350,7 @@
 		{ .act = INIT(&table[2].inv, my_update_false)   }
 	};
 
-	struct mlk_action array[3];
+	struct mlk_action *array[3];
 	struct mlk_action_script sc = {0};
 
 	mlk_action_script_init(&sc, array, 3);
@@ -430,7 +430,7 @@
 		{ .act = INIT(&table[2].inv, my_update_false)   }
 	};
 
-	struct mlk_action array[3];
+	struct mlk_action *array[3];
 	struct mlk_action_script sc = {0};
 
 	mlk_action_script_init(&sc, array, 3);