>>>> foolib = cdll.LoadLibrary('foo.so')
>>>> foolib.foo(0xF00000000)
> 0Shouldn't you tell ctypes that the argument and the result of foo is a pointer? Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list
>>>> foolib = cdll.LoadLibrary('foo.so')
>>>> foolib.foo(0xF00000000)
> 0Shouldn't you tell ctypes that the argument and the result of foo is a pointer? Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list