In SDL2 there is a function
SDL_Window*SDL_CreateWindow(constchar*title, int x,
int y,
int w,
int h,
Uint32 flags)
the return value of this function is SDL_window* which is a pointer and there are some other functions (like SDL_DestroyWindow (SDL_Window* window)) which takes the SDL_Window pointer as an argument.
How can we define these kind of pointers defined?
Is it mean that we have a pointer that points a struct with slots x,y,w,h,flags?
Do we need to define these kind of pointers like pointer to int or pointer to float?