]> sigrok.org Git - libsigrokdecode.git/blobdiff - module_sigrokdecode.c
Rename inter-PD output type to SRD_OUTPUT_PYTHON
[libsigrokdecode.git] / module_sigrokdecode.c
index 6fba05ca5a875b145d1b5d96b8221d992eeb4348..46b3ced7695db861d61acc126f473b9ec48c69cd 100644 (file)
@@ -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)