extern SRD_PRIV PyTypeObject srd_logic_type;
/*
- * When initialized, a reference to this module inside the python interpreter
+ * When initialized, a reference to this module inside the Python interpreter
* lives here.
*/
SRD_PRIV PyObject *mod_sigrokdecode = NULL;
.m_size = -1,
};
-SRD_PRIV PyMODINIT_FUNC PyInit_sigrokdecode(void)
+/* FIXME: SRD_PRIV causes issues on MinGW. Investigate. */
+PyMODINIT_FUNC PyInit_sigrokdecode(void)
{
PyObject *mod;
- /* tp_new needs to be assigned here for compiler portability */
+ /* tp_new needs to be assigned here for compiler portability. */
srd_Decoder_type.tp_new = PyType_GenericNew;
if (PyType_Ready(&srd_Decoder_type) < 0)
return NULL;