summaryrefslogtreecommitdiff
path: root/module_sigrokdecode.c
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2013-11-05 11:21:33 +0100
committerBert Vermeulen <bert@biot.com>2013-11-07 22:47:42 +0100
commitf2a5df42ea41e6c4370d4efa1a27ab942ba1ddff (patch)
tree2e62755d1bcbbdb1bd0742eec7f9bed21b28bb7a /module_sigrokdecode.c
parent98e0b79b9fd2abf076054abc5f25c184b436cb87 (diff)
downloadlibsigrokdecode-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 'module_sigrokdecode.c')
-rw-r--r--module_sigrokdecode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module_sigrokdecode.c b/module_sigrokdecode.c
index 6fba05c..46b3ced 100644
--- a/module_sigrokdecode.c
+++ b/module_sigrokdecode.c
@@ -71,8 +71,8 @@ PyMODINIT_FUNC PyInit_sigrokdecode(void)
/* expose output types as symbols in the sigrokdecode module */
if (PyModule_AddIntConstant(mod, "OUTPUT_ANN", SRD_OUTPUT_ANN) == -1)
return NULL;
- if (PyModule_AddIntConstant(mod, "OUTPUT_PROTO",
- SRD_OUTPUT_PROTO) == -1)
+ if (PyModule_AddIntConstant(mod, "OUTPUT_PYTHON",
+ SRD_OUTPUT_PYTHON) == -1)
return NULL;
if (PyModule_AddIntConstant(mod, "OUTPUT_BINARY",
SRD_OUTPUT_BINARY) == -1)