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 /type_decoder.c | |
parent | b33b8aa56ec27edf57cd7dc3d735370f60bfe13d (diff) | |
download | libsigrokdecode-aafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01.tar.gz libsigrokdecode-aafeeaea1731a1e0c8322527ccb0e4cdcc5ffb01.zip |
srd: Some more (optional) consistency renames.
Diffstat (limited to 'type_decoder.c')
-rw-r--r-- | type_decoder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/type_decoder.c b/type_decoder.c index 19fd350..9cf7770 100644 --- a/type_decoder.c +++ b/type_decoder.c @@ -156,8 +156,8 @@ static PyObject *Decoder_put(PyObject *self, PyObject *args) if (!(py_res = PyObject_CallMethod( next_di->py_inst, "decode", "KKO", start_sample, end_sample, data))) { - catch_exception("Calling %s decode(): ", - next_di->inst_id); + srd_exception_catch("Calling %s decode(): ", + next_di->inst_id); } Py_XDECREF(py_res); } @@ -193,7 +193,7 @@ static PyObject *Decoder_add(PyObject *self, PyObject *args) return NULL; } - pdo_id = pd_add(di, output_type, proto_id); + pdo_id = srd_inst_pd_output_add(di, output_type, proto_id); if (pdo_id < 0) Py_RETURN_NONE; else |