diff options
author | Bert Vermeulen <bert@biot.com> | 2013-11-05 11:21:33 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2013-11-07 22:47:42 +0100 |
commit | f2a5df42ea41e6c4370d4efa1a27ab942ba1ddff (patch) | |
tree | 2e62755d1bcbbdb1bd0742eec7f9bed21b28bb7a /type_decoder.c | |
parent | 98e0b79b9fd2abf076054abc5f25c184b436cb87 (diff) | |
download | libsigrokdecode-f2a5df42ea41e6c4370d4efa1a27ab942ba1ddff.tar.gz libsigrokdecode-f2a5df42ea41e6c4370d4efa1a27ab942ba1ddff.zip |
Rename inter-PD output type to SRD_OUTPUT_PYTHON
This better reflects what it is: a python object generated and
processed by python code.
Diffstat (limited to 'type_decoder.c')
-rw-r--r-- | type_decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/type_decoder.c b/type_decoder.c index c8ef09e..f689dd0 100644 --- a/type_decoder.c +++ b/type_decoder.c @@ -25,7 +25,7 @@ /* This is only used for nicer srd_dbg() output. */ static const char *OUTPUT_TYPES[] = { "OUTPUT_ANN", - "OUTPUT_PROTO", + "OUTPUT_PYTHON", "OUTPUT_BINARY", }; @@ -145,7 +145,7 @@ static PyObject *Decoder_put(PyObject *self, PyObject *args) cb->cb(pdata, cb->cb_data); } break; - case SRD_OUTPUT_PROTO: + case SRD_OUTPUT_PYTHON: for (l = di->next_di; l; l = l->next) { next_di = l->data; /* TODO: Is this needed? */ |