/*
- * This file is part of the sigrok project.
+ * This file is part of the libsigrokdecode project.
*
* Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
*
#include "sigrokdecode-internal.h"
#include "config.h"
+/** @cond PRIVATE */
+
/* type_decoder.c */
extern SRD_PRIV PyTypeObject srd_Decoder_type;
*/
SRD_PRIV PyObject *mod_sigrokdecode = NULL;
+/** @endcond */
+
static struct PyModuleDef sigrokdecode_module = {
PyModuleDef_HEAD_INIT,
.m_name = "sigrokdecode",
.m_size = -1,
};
-SRD_PRIV PyMODINIT_FUNC PyInit_sigrokdecode(void)
+/** @cond PRIVATE */
+/* 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;
return mod;
}
+/** @endcond */