Object Oriented C: Interfaces
sagartewari01.com
sagartewari01.com
typedef struct intf intf;
int (*newIntfCB)(intf*, ...)
typedef stuct intf {
void *handle;
newIntfCB newIntf;
} intf;
(Here’s hoping beachside phone programming has resulted in valid C code.)