I managed to solve this one myself using __closure:
typedef struct
{
int iBit;
void (__closure *save_fun)(void);
} __save_rec;
and keeping the rest as is.
Now to figure out mass initialisation as follows (in standard c:)
const __save_rec SaveData[] =
{
{ 1, TRBMAP, SavBmap }...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.