Embedded Python and C Callback functions

doc.mefisto at gmail.com doc.mefisto at gmail.com
Sun Jun 7 05:15:09 EDT 2015


I'm trying to debug and find my error. It goes wrong when:
 PyObject *v;
            v = va_arg(*p_va, PyObject *);
            if (v != NULL) {
                if (*(*p_format - 1) != 'N')
                    Py_INCREF(v);
            }

it tries to PyINCREF to my passed callback.



More information about the Python-list mailing list