diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-03-25 15:08:16 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-03-28 01:19:27 +0200 |
commit | aafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01 (patch) | |
tree | 984d38c74881ebd044918dcf4a26cef081b1efaf /decoder.c | |
parent | b33b8aa56ec27edf57cd7dc3d735370f60bfe13d (diff) | |
download | libsigrokdecode-aafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01.tar.gz libsigrokdecode-aafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01.zip |
srd: Some more (optional) consistency renames.
Diffstat (limited to 'decoder.c')
-rw-r--r-- | decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -149,7 +149,7 @@ SRD_API int srd_decoder_load(const char *module_name) /* Import the Python module. */ if (!(d->py_mod = PyImport_ImportModule(module_name))) { - catch_exception("Import of '%s' failed.", module_name); + srd_exception_catch("Import of '%s' failed.", module_name); goto err_out; } @@ -298,7 +298,7 @@ SRD_API char *srd_decoder_doc_get(const struct srd_decoder *dec) return NULL; if (!(py_str = PyObject_GetAttrString(dec->py_mod, "__doc__"))) { - catch_exception(""); + srd_exception_catch(""); return NULL; } |