[fpc-pascal] More doubts on C to pascal header translations:

Paulo Costa paco at fe.up.pt
Mon Apr 25 01:31:56 CEST 2011


I saw that h2pas translated:

typedef void(*callback)(int pos, void* userdata);

to

callback = procedure (pos:cint; var userdata:pointer);cdecl;

shouldn't it be?

callback = procedure (pos:cint; userdata:pointer);cdecl;

Paulo Costa



More information about the fpc-pascal mailing list