summaryrefslogtreecommitdiff
path: root/util.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 /util.c
parentb33b8aa56ec27edf57cd7dc3d735370f60bfe13d (diff)
downloadlibsigrokdecode-aafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01.tar.gz
libsigrokdecode-aafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01.zip
srd: Some more (optional) consistency renames.
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index a4268ec..6dbeb2f 100644
--- a/util.c
+++ b/util.c
@@ -46,7 +46,7 @@ SRD_PRIV int py_attr_as_str(const PyObject *py_obj, const char *attr,
}
if (!(py_str = PyObject_GetAttrString((PyObject *)py_obj, attr))) {
- catch_exception("");
+ srd_exception_catch("");
return SRD_ERR_PYTHON;
}
@@ -150,7 +150,7 @@ err_out:
Py_XDECREF(py_encstr);
if (PyErr_Occurred()) {
- catch_exception("string conversion failed");
+ srd_exception_catch("string conversion failed");
}
return ret;