James> Although the current code was non broken before, there is a patch
James> under consideration that would make the GTypes store a munged
James> pointer, which is not really safe to store in a python int (there
James> may be size issues, etc).
James,
Take a look at PyLong_FromVoidPtr and PyLong_AsVoidPtr. I'm not sure they
are documented in the Python C API reference, but it sounds like what you
really should be using to hide pointers.
--
Skip Montanaro ([EMAIL PROTECTED])
http://www.mojam.com/
http://www.musi-cal.com/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk