From 9ece614c7399f9d57053924e0effa9eb41b402b0 Mon Sep 17 00:00:00 2001 From: cat Date: Mon, 26 May 2025 01:14:02 +1000 Subject: [PATCH] group typedefs together --- dat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dat.h b/dat.h index 0a724de..d9daf4d 100644 --- a/dat.h +++ b/dat.h @@ -1,4 +1,6 @@ typedef struct Image Image; +typedef struct State State; + struct Image { int w; int h; @@ -7,7 +9,6 @@ struct Image { SDL_Texture *tex; }; -typedef struct State State; struct State { SDL_Window *win; SDL_Renderer *ren;