X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=sigrokdecode.h;h=dfddb1383aaddfcac9ee4e452aa192de9ab62ec4;hp=70652a4f8cdcbf444c6316e5508a99d6b48a9112;hb=ec871a279893cfe0ab378eddc0a9f9bcccc44925;hpb=4fadb1282f5e9aa41abcb67e7d90cdc4a9b2628d diff --git a/sigrokdecode.h b/sigrokdecode.h index 70652a4..dfddb13 100644 --- a/sigrokdecode.h +++ b/sigrokdecode.h @@ -206,6 +206,9 @@ int srd_load_all_decoders(void); int srd_unload_all_decoders(void); char *srd_decoder_doc(struct srd_decoder *dec); +/*--- exception.c -----------------------------------------------------------*/ +void catch_exception(const char *format, ...); + /*--- util.c ----------------------------------------------------------------*/ int py_attr_as_str(PyObject *py_obj, const char *attr, char **outstr); int py_dictitem_as_str(PyObject *py_obj, const char *key, char **outstr);