[fpc-pascal] how to use procedure of object in C
xrfang at gmail.com
Mon Mar 9 16:20:31 CET 2015
I define a procedure like this:
TDataHandler = procedure(data: Pointer) of object;
procedure SetHandler(h: TDataHandler); external cdecl;
Now, can I implement SetHandler in a library written in C, then call h in C?
Sent from Gmail Mobile
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal