Re: [fpc-devel] more descriptive parameter names for C translated headers

2008-02-02 Thread Peter Vreman
Graeme Geldenhuys wrote: Hi, I use the xlib.pp unit a lot. As far as I understand it and many others like it was created with a automated tool. As I use the functions, I thought I could start changing the para1, para2... to more descriptive parameter names. This makes it much easier to code if

Re: [fpc-devel] more descriptive parameter names for C translated headers

2008-02-02 Thread Micha Nelissen
Graeme Geldenhuys wrote: > 1) > function XSetSelectionOwner(ADisplay:PDisplay; ASelection:TAtom; > AOwner:TWindow; ATime:TTime):cint;cdecl;external libX11; > > or maybe > > 2) > function XSetSelectionOwner(display:PDisplay; selection:TAtom; > owner:TWindow; time:TTime):cint;cdecl;external libX11;

[fpc-devel] Linux gid_t uid_t

2008-02-02 Thread Marco van de Voort
I noticed that somewhere since baseunix times Linux/glibc updated all basic types that were still 16-bit to 32-bit. FPC didn't notice it, since the x86 stat record is a typeless hack. However for e.g. the password functions this needs to be corrected. Does sb know when this conversion happened ?

Re: [fpc-devel] Linux gid_t uid_t

2008-02-02 Thread ik
It does on my buntu amd64. Ido On Feb 2, 2008 6:15 PM, Marco van de Voort <[EMAIL PROTECTED]> wrote: > > I noticed that somewhere since baseunix times Linux/glibc updated all basic > types that were still 16-bit to 32-bit. FPC didn't notice it, since the x86 > stat record is a typeless hack. Howe