group typedefs together
This commit is contained in:
parent
37ecf11926
commit
9ece614c73
1 changed files with 2 additions and 1 deletions
3
dat.h
3
dat.h
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue