]> sigrok.org Git - libsigrokdecode.git/blobdiff - type_decoder.c
srd/cli/qt: Some more API consistency renames.
[libsigrokdecode.git] / type_decoder.c
index e5426c166f28aa87a7495aa7676be42175dfda97..19fd3508bd723a3ed965f9c8a8b25ae165a23578 100644 (file)
@@ -135,7 +135,7 @@ static PyObject *Decoder_put(PyObject *self, PyObject *args)
        switch (pdo->output_type) {
        case SRD_OUTPUT_ANN:
                /* Annotations are only fed to callbacks. */
-               if ((cb = srd_find_callback(pdo->output_type))) {
+               if ((cb = srd_pd_output_callback_find(pdo->output_type))) {
                        /* Annotations need converting from PyObject. */
                        if (convert_pyobj(di, data, &pdata->ann_format,
                                          (char ***)&pdata->data) != SRD_OK) {