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
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to