diff options
author | Daniel Elstner <daniel.kitta@gmail.com> | 2015-10-06 21:07:47 +0200 |
---|---|---|
committer | Daniel Elstner <daniel.kitta@gmail.com> | 2015-10-06 23:25:40 +0200 |
commit | 6d67d057d13318deb0a11de2589b5442df389092 (patch) | |
tree | 56fb0036a359503adad67104941ab78af15e3472 /libsigrokdecode-internal.h | |
parent | 201a85a8ea071d37f4fda2668c0a1c488d852f4e (diff) | |
download | libsigrokdecode-6d67d057d13318deb0a11de2589b5442df389092.tar.gz libsigrokdecode-6d67d057d13318deb0a11de2589b5442df389092.zip |
decoder: Refactor loading code and plug leaks
Diffstat (limited to 'libsigrokdecode-internal.h')
-rw-r--r-- | libsigrokdecode-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsigrokdecode-internal.h b/libsigrokdecode-internal.h index fa8e91c..23bfdf4 100644 --- a/libsigrokdecode-internal.h +++ b/libsigrokdecode-internal.h @@ -100,6 +100,7 @@ SRD_PRIV int py_attr_as_str(PyObject *py_obj, const char *attr, char **outstr); SRD_PRIV int py_dictitem_as_str(PyObject *py_obj, const char *key, char **outstr); SRD_PRIV int py_str_as_str(PyObject *py_str, char **outstr); SRD_PRIV int py_strseq_to_char(PyObject *py_strseq, char ***out_strv); +SRD_PRIV GVariant *py_obj_to_variant(PyObject *py_obj); /* exception.c */ SRD_PRIV void srd_exception_catch(const char *format, ...); |