In our previous episode, ik said:
> > and ptrint, intptr and (c)intptr_t is a bit too much without very good
> > reasons.
> >
> > So, what do you need it for, and why can't you use simply ptrint?
> >
>
> I bind C code, and looked for it.
> And I used PtrInt instead but was interested in understand
On Sun, Apr 24, 2011 at 19:40, Marco van de Voort wrote:
> In our previous episode, ik said:
> > > > Linux.
> > >
> > > I guess this went to the wrong list. I can't find any intptr_t in e.g.
> the
> > > FreeBSD rtl.
> >
> > Right, my bad.
> >
> > ik@ik-office:~/projects/fpc/fpc/rtl$ grep -in intp
In our previous episode, ik said:
> > > Linux.
> >
> > I guess this went to the wrong list. I can't find any intptr_t in e.g. the
> > FreeBSD rtl.
>
> Right, my bad.
>
> ik@ik-office:~/projects/fpc/fpc/rtl$ grep -in intptr_t ./* -R | grep -v svn
> ./netbsd/sysnr.inc:144: { syscall: "sbrk" ret: "
On Sun, Apr 24, 2011 at 18:43, Marco van de Voort wrote:
> In our previous episode, ik said:
> >
> > I see that intptr_t type is defined for all supported Unix that are not
> > Linux.
>
> I guess this went to the wrong list. I can't find any intptr_t in e.g. the
> FreeBSD rtl.
>
Right, my bad.
In our previous episode, ik said:
>
> I see that intptr_t type is defined for all supported Unix that are not
> Linux.
I guess this went to the wrong list. I can't find any intptr_t in e.g. the
FreeBSD rtl.
___
fpc-devel maillist - fpc-devel@lists.fre
Hello List,
I see that intptr_t type is defined for all supported Unix that are not
Linux.
Is there are reason why it was never declared for Linux ?
stdint.h is define it like so:
/* Types for `void *' pointers. */
#if __WORDSIZE == 64
# ifndef __intptr_t_defined
typedef long intintptr_t;
#