On Sat, 20 Nov 2010 12:20:53 +0000, Phil Thompson
<[email protected]> wrote:
> On Sat, 20 Nov 2010 02:14:55 -0800, Robin Dunn <[email protected]>
wrote:
>> Is there a way to get SIP to treat an "unsigned char" as a number
rather
> 
>> than as a string of length 1?  Doing something like a MappedType for a 
>> "byte" typedef feels like overkill, especially for a POD type.
> 
> No, but should be able to. I'll add a /PyInt/ argument annotation.

How is this different from declaring the argument as "unsigned int" in the
SIP file? Will it check and raise a Python exception in case of overflow?
-- 
Giovanni Bajo   ::  [email protected]
Develer S.r.l.  ::  http://www.develer.com

My Blog: http://giovanni.bajo.it
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to