Re: Help wrapping SDL2.0

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu