summaryrefslogtreecommitdiff
path: root/module_sigrokdecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'module_sigrokdecode.c')
-rw-r--r--module_sigrokdecode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/module_sigrokdecode.c b/module_sigrokdecode.c
index d2ffb07..426cf49 100644
--- a/module_sigrokdecode.c
+++ b/module_sigrokdecode.c
@@ -230,13 +230,13 @@ PyMODINIT_FUNC PyInit_sigrokdecode(void)
return NULL;
/* expose output types as symbols in the sigrokdecode module */
- if(PyModule_AddObject(mod, "SRD_OUTPUT_ANN",
+ if(PyModule_AddObject(mod, "OUTPUT_ANN",
PyLong_FromLong(SRD_OUTPUT_ANN)) == -1)
return NULL;
- if(PyModule_AddObject(mod, "SRD_OUTPUT_PROTO",
+ if(PyModule_AddObject(mod, "OUTPUT_PROTO",
PyLong_FromLong(SRD_OUTPUT_PROTO)) == -1)
return NULL;
- if(PyModule_AddObject(mod, "SRD_OUTPUT_BINARY",
+ if(PyModule_AddObject(mod, "OUTPUT_BINARY",
PyLong_FromLong(SRD_OUTPUT_BINARY)) == -1)
return NULL;