group typedefs together

This commit is contained in:
cat 2025-05-26 01:14:02 +10:00
parent 37ecf11926
commit 9ece614c73

3
dat.h
View file

@ -1,4 +1,6 @@
typedef struct Image Image; typedef struct Image Image;
typedef struct State State;
struct Image { struct Image {
int w; int w;
int h; int h;
@ -7,7 +9,6 @@ struct Image {
SDL_Texture *tex; SDL_Texture *tex;
}; };
typedef struct State State;
struct State { struct State {
SDL_Window *win; SDL_Window *win;
SDL_Renderer *ren; SDL_Renderer *ren;