Wrong method signature for Py_AddPendingCall
On the page http://docs.python.org/py3k/c-api/init.html#asynchronous-notifications, the method signature for Py_AddPendingCall is incorrect. It reads void Py_AddPendingCall(int (*func)(void *, void *arg)) when it should correctly read int Py_AddPendingCall(int (*func)(void *), void *arg) (the return type and the arguments are incorrectly listed). Robert
Hi Robert, On Thu, Apr 14, 2011 at 03:42, Robert Xiao <nneonneo@gmail.com> wrote:
On the page http://docs.python.org/py3k/c-api/init.html#asynchronous-notifications, the method signature for Py_AddPendingCall is incorrect.
It reads void Py_AddPendingCall(int (*func)(void *, void *arg)) when it should correctly read int Py_AddPendingCall(int (*func)(void *), void *arg)
I see: void Py_AddPendingCall(int (*func)(void *), void *arg) on the same page you link above: can you please it works for you now? Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
participants (2)
-
Robert Xiao
-
Sandro Tosi