[Cython] Hello
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon Jan 27 04:23:03 EST 2020
On 27/01/20 6:56 pm, John Skaller2 wrote:
> Felix binds C/C++ code with statements like:
>
> type PyObject = “PyObject*”;
> fun add: PyObject * PyObject -> PyObject = “Py_AddLong($1)”;
>
> and can use the bindings like:
>
> var a : PyObject = ….
> var b: PyObject = ...
> var sum = add (a,b);
How does it deal with reference counting and exception handling?
--
Greg
More information about the cython-devel
mailing list