On 16 Nov, 14:25, Carl Banks wrote:
> Python can't call C function pointers.
Yes it can, use ctypes...
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 16, 5:04 am, hvictor wrote:
> I have C++ a void function pointer stored in a variable call. The
> pointed function takes an int and a char* as arguments.
>
> I have a python module containing this function:
>
> def yeah(x):
> x(int(0),"text argument")
> return "pointer calle
I have C++ a void function pointer stored in a variable call. The
pointed function takes an int and a char* as arguments.
I have a python module containing this function:
def yeah(x):
x(int(0),"text argument")
return "pointer called"
As you can see I'm trying to use the argument