From d480174d51b327ad8e579d79f619607a9687597e Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 31 May 2017 22:51:23 +0200 Subject: struct srd_decoder: Add list of input/output decoder IDs. --- libsigrokdecode-internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libsigrokdecode-internal.h') diff --git a/libsigrokdecode-internal.h b/libsigrokdecode-internal.h index c12b877..eb79287 100644 --- a/libsigrokdecode-internal.h +++ b/libsigrokdecode-internal.h @@ -120,7 +120,9 @@ PyMODINIT_FUNC PyInit_sigrokdecode(void); /* util.c */ SRD_PRIV PyObject *py_import_by_name(const char *name); SRD_PRIV int py_attr_as_str(PyObject *py_obj, const char *attr, char **outstr); +SRD_PRIV int py_attr_as_strlist(PyObject *py_obj, const char *attr, GSList **outstrlist); SRD_PRIV int py_dictitem_as_str(PyObject *py_obj, const char *key, char **outstr); +SRD_PRIV int py_listitem_as_str(PyObject *py_obj, Py_ssize_t idx, char **outstr); SRD_PRIV int py_pydictitem_as_str(PyObject *py_obj, PyObject *py_key, char **outstr); SRD_PRIV int py_pydictitem_as_long(PyObject *py_obj, PyObject *py_key, uint64_t *out); SRD_PRIV int py_str_as_str(PyObject *py_str, char **outstr); -- cgit v1.2.3-70-g09d2