ctypes details was: Re: syntax for code blocks
mwilson at the-wire.com
mwilson at the-wire.com
Mon Apr 30 12:05:08 EDT 2012
Kiuhnm wrote:
> Regarding ctypes, try this to convince yourself that there's no problem
> in reusing BignumPtrType:
> from ctypes import POINTER, c_int
> assert POINTER(c_int) is POINTER(c_int)
print ('POINTERs are shareable:', ctypes.POINTER (BignumType) is ctypes.POINTER
(BignumType))
[ ... ]
('POINTERs are shareable:', True)
Thanks.
Mel.
More information about the Python-list
mailing list