[BangPypers] cython Query
amishatiitkgp at gmail.com
Tue Sep 30 09:20:00 CEST 2014
I have a problem where I want to use a C api that takes a callback
function. I want to call this C Api from python and also provide the python
callback function to the api.
Inside the callback function, I need access to the values of a global
variable declared in the same Python file. I had tried to this without
Cython but in my implementation the global variable used to be a different
instance in the callback function.
Hence I am requesting for help from Cython experts whether they think this
problem can be solved using cython.
More information about the BangPypers