[Lazarus] translation from c-header

Dennis dec12 at avidsoft.com.hk
Sat Jun 18 18:40:14 CEST 2016



Koenraad Lelong wrote:
> Hi,
>
> I'm trying to port pigpio to fpc (http://abyz.co.uk/rpi/pigpio/).
> h2pas has a problem with this :
> c : typedef void *(gpioThreadFunc_t) (void *);
I am only guess and could be very wrong.  My guess is:
Type
     TProcedure = procedure;

     gpioThreadFunc = procedure(TProcedure);


Dennis



More information about the Lazarus mailing list