]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoder.c
Easier access to sequences of strings, not just lists.
[libsigrokdecode.git] / decoder.c
index 1b0ed2abdd89cdcccc14950c92a4b5a6b056703b..858b56ad2233c0fe76e0a40248873eee1d188e3d 100644 (file)
--- a/decoder.c
+++ b/decoder.c
@@ -395,7 +395,7 @@ SRD_API int srd_decoder_load(const char *module_name)
                                goto err_out;
                        }
 
-                       if (py_strlist_to_char(py_ann, &ann) != SRD_OK) {
+                       if (py_strseq_to_char(py_ann, &ann) != SRD_OK) {
                                goto err_out;
                        }
                        d->annotations = g_slist_append(d->annotations, ann);