Re: Wrapping Functions Inside of Struct?

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

I could be wrong, but from what I can see, if you're not using al_fopen() then you don't need ALLEGRO_FILE_INTERFACE.
If you have a working example using al_fopen() that does not use al_set_new_file_interface() then you don't need "".
Should you actually need it, then al_set_new_file_interface() just needs a (carefully ordered) bank of 13 call_backs().
There would be very little benefit, and perhaps possibility for misuse, for your app itself to know about any function
names/args/return types, that is, after they've been put into, or in getting back out of, such a simple flat array.

HTH, Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu