summaryrefslogtreecommitdiff
path: root/decoder.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-03-25 15:08:16 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2012-03-28 01:19:27 +0200
commitaafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01 (patch)
tree984d38c74881ebd044918dcf4a26cef081b1efaf /decoder.c
parentb33b8aa56ec27edf57cd7dc3d735370f60bfe13d (diff)
downloadlibsigrokdecode-aafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01.tar.gz
libsigrokdecode-aafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01.zip
srd: Some more (optional) consistency renames.
Diffstat (limited to 'decoder.c')
-rw-r--r--decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder.c b/decoder.c
index ad16846..6290add 100644
--- a/decoder.c
+++ b/decoder.c
@@ -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;
}