}
/* Create an instance of the 'Decoder' class. */
- di->py_instance = PyObject_Call(dec->py_decobj, py_args, NULL);
+ di->py_instance = PyObject_Call(dec->py_dec, py_args, NULL);
if (!di->py_instance) {
if (PyErr_Occurred())
PyErr_Print();
return SRD_OK;
}
+/* TODO: this should go into the PD stack */
struct srd_decoder_instance *srd_instance_find(char *instance_id)
{
GSList *l;