A
Adam Warner
Hi all,
Just before Christmas Chris Torek gave me some great advice about closures in C:
<http://groups.google.co.nz/[email protected]&output=gplain>
It includes this declaration of a function pointer variable called fp:
void (*fp)(void *);
What does the syntax above mean? I can only digest it as void * fp,
i.e. fp is a pointer to void.
Thanks,
Adam
Just before Christmas Chris Torek gave me some great advice about closures in C:
<http://groups.google.co.nz/[email protected]&output=gplain>
It includes this declaration of a function pointer variable called fp:
void (*fp)(void *);
What does the syntax above mean? I can only digest it as void * fp,
i.e. fp is a pointer to void.
Thanks,
Adam