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

2011-04-25 Thread Marco van de Voort
In our previous episode, Paulo Costa said: > >> I replaced size_t by PtrUInt, is there a better alternative? > > > > On *nix size_t is afaik declared in unit baseunix? > > > > Right now I'm working in Linux but I latter would like to make it work > in Windows. The main concern was if it was 32/64

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

2011-04-25 Thread Paulo Costa
On 24/04/2011 16:41, Marco van de Voort wrote: 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 Ptr

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

2011-04-24 Thread Marco van de Voort
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 alternat

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

2011-04-24 Thread Paulo Costa
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? Paulo Costa