[fpc-pascal] A few doubts about C to pascal header translations:

Marco van de Voort marcov at stack.nl
Sun Apr 24 17:41:35 CEST 2011


In our previous episode, Paulo Costa said:
> I've come across some constructs that I'm not sure how to translate:
> 
> A procedure where one of the arguments is declared as:
> size_t arg;
> 
> also a macro where appears:
> sizeof(size_t)
> 
> I replaced size_t by PtrUInt, is there a better alternative?

On *nix size_t is afaik declared in unit baseunix?



More information about the fpc-pascal mailing list