[Bf-python] 64-bit and void*/int hackery

Nathan Letwory jesterking at letwory.net
Tue Feb 5 14:20:31 CET 2008


On 2/5/08, Campbell Barton <ideasman42 at gmail.com> wrote:
> Would be nice to resolve this since it prints loads of annoying warnings
>
> from this page...
> http://www-128.ibm.com/developerworks/linux/library/l-port64.html
>
> # size_t:
> An unsigned integer and the result of the sizeof operator. This is
> used when passing parameters to functions such as malloc (3), and
> returned from several functions such as fred (2).
>
> # intptr_t and uintptr_t:
>
> seems like intptr_t could be used here, cant we just use defines for
> compilers that dont have these built in?
>

See http://msdn2.microsoft.com/en-us/library/aa384242(VS.85).aspx for
the Windows part.

/Nathan



More information about the Bf-python mailing list