return SIGROKDECODE_ERR_PYTHON; /* TODO: More specific error? */
}
/* Call the 'register' function without arguments, get the result. */
if (!(py_res = PyObject_CallFunction(py_func, NULL))) { /* NEWREF */
PyErr_Print(); /* Returns void. */
return SIGROKDECODE_ERR_PYTHON; /* TODO: More specific error? */
}
/* Call the 'register' function without arguments, get the result. */
if (!(py_res = PyObject_CallFunction(py_func, NULL))) { /* NEWREF */
PyErr_Print(); /* Returns void. */