Hoyt Koepke wrote:
> What would be the best way to call a python C-API function that takes
> PyObject** arguments from my cython code?

The best way would be to let Cython do it for you, instead of calling the
function yourself. ;)

What function do you mean?

For example, Cython uses PyDict_Next() when looping over a dictionary, so
there is no need to call that function yourself. Other use cases may get
optimised into a direct C-API call in a similar fashion.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to