diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2017-05-31 22:51:23 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2017-05-31 23:07:01 +0200 |
commit | d480174d51b327ad8e579d79f619607a9687597e (patch) | |
tree | 3eab97821a42ebb0a8bbb86a14fdd153f98edb44 /libsigrokdecode-internal.h | |
parent | cdb49509e85443129f2d60180eb818813030901e (diff) | |
download | libsigrokdecode-d480174d51b327ad8e579d79f619607a9687597e.tar.gz libsigrokdecode-d480174d51b327ad8e579d79f619607a9687597e.zip |
struct srd_decoder: Add list of input/output decoder IDs.
Diffstat (limited to 'libsigrokdecode-internal.h')
-rw-r--r-- | libsigrokdecode-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |