diff options
author | Bert Vermeulen <bert@biot.com> | 2013-12-11 23:41:02 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2013-12-11 23:41:02 +0100 |
commit | 62a2b15ce3fe6af6867c30cfc9c14c01d201a898 (patch) | |
tree | a49a13a6d48342daeaa66684fd826125ac67d2af /type_decoder.c | |
parent | 932606db3cdb14518dac55c67f4ecc8471fb6a33 (diff) | |
download | libsigrokdecode-62a2b15ce3fe6af6867c30cfc9c14c01d201a898.tar.gz libsigrokdecode-62a2b15ce3fe6af6867c30cfc9c14c01d201a898.zip |
Easier access to sequences of strings, not just lists.
Diffstat (limited to 'type_decoder.c')
-rw-r--r-- | type_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/type_decoder.c b/type_decoder.c index 38fa1ae..6140fd0 100644 --- a/type_decoder.c +++ b/type_decoder.c @@ -78,7 +78,7 @@ static int convert_annotation(struct srd_decoder_inst *di, PyObject *obj, "second element was not a list.", di->decoder->name); return SRD_ERR_PYTHON; } - if (py_strlist_to_char(py_tmp, &ann_text) != SRD_OK) { + if (py_strseq_to_char(py_tmp, &ann_text) != SRD_OK) { srd_err("Protocol decoder %s submitted annotation list, but " "second element was malformed.", di->decoder->name); return SRD_ERR_PYTHON; |