[Bf-python] 64-bit and void*/int hackery
khughes at pacific.edu
Tue Feb 5 17:42:43 CET 2008
When I was trying to make the code 64-bit clean a few years ago that Ton
was resistant to using intptr_t and uintptr_t:
Not sure if I misunderstood why.
Nathan Letwory wrote:
> 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...
>> # 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.
> Bf-python mailing list
> Bf-python at blender.org
More information about the Bf-python