From 6d67d057d13318deb0a11de2589b5442df389092 Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Tue, 6 Oct 2015 21:07:47 +0200 Subject: decoder: Refactor loading code and plug leaks --- libsigrokdecode-internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libsigrokdecode-internal.h') 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, ...); -- cgit v1.2.3-70-g09d2