In article <[EMAIL PROTECTED]>, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> >>>> foolib = cdll.LoadLibrary('foo.so')
> >>>> foolib.foo(0xF00000000)
> > 0
>
> Shouldn't you tell ctypes that the argument and the result
> of foo is a pointer?
Yeah... that's it. Default return type is int, which I assumed would be
64 bits on a 64 bit machine, but turns out it's 32. Stupid.
rg
-- http://mail.python.org/mailman/listinfo/python-list
