typedef struct { float x; float y; void * proc; }Point; void TestFunction() { printf("hello world"); } void main() { Point ptr; ptr->proc = TextFunction; ptr->proc();// can lite-C write like this code }
void* myproc(); myproc = ptr->proc; myproc();
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de