Re: Wrapping Functions Inside of Struct?
- Posted by petelomax Oct 11, 2022
- 770 views
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