Thanks Matthew!

It would be great if we could get this fixed.  It's kind of a biggie for
us.  I would help out but I really don't know where to start.  If I find
the time I'll try to take a crack at it.

-tony


On Thu, Feb 6, 2014 at 3:44 PM, Matthew Woehlke <
[email protected]> wrote:

> On 2014-02-06 15:31, Tony Barbieri wrote:
> > Or if size_t isn't appropriate, shouldn't wrapinstance take an unsigned
> > long long or uint64_t?  I don't believe unsigned long will work for 64
> bit
> > as it's 32 bits on Windows.  Should wrapinstance be changed to support
> all
> > platforms?
>
> [u]intptr_t is the only "correct" type if you need to represent a
> pointer as an integer.
>
> Fortunately, unlike other types from C99¹ stdint.h, it looks like these
> are well supported (as far back as VS 2005 anyway, according to MSDN).
>
> (¹ ...which Microsoft has never made any serious effort to support prior
> to it being mandated in C++11.)
>
> --
> Matthew
>
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/pyside
>



-- 
-tony
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to