From aafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01 Mon Sep 17 00:00:00 2001 From: Uwe Hermann <uwe@hermann-uwe.de> Date: Sun, 25 Mar 2012 15:08:16 +0200 Subject: srd: Some more (optional) consistency renames. --- decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoder.c') 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; } -- cgit v1.2.3-70-g09d2