Re: Help wrapping SDL2.0
- Posted by mb7001 Oct 18, 2014
- 1745 views
That would be great. I have wrapped several of the functions, but I do not know if they will work or not, because I can't test until most of the functions are wrapped. This is definitely a great learning experience for me. I have even used struct.e by ghaberek (Greg) to recreate the structures. On that note, I was wondering if you can explain what this line means to me in C header file:
typedef struct SDL_RWops { Sint64 (SDLCALL * size) (struct SDL_RWops * context); . . . }
I can see that there is a structure being declared there with the type of SDL_RWops, but not sure how to call a struct within a struct. Or even exactly what this line is saying.