We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abd51f6 commit 0501e5fCopy full SHA for 0501e5f
1 file changed
openslide/_convert.c
@@ -96,22 +96,22 @@ _convert_argb2rgba(PyObject *self, PyObject *args)
96
return ret;
97
}
98
99
-static PyMethodDef ConvertMethods[] = {
+static PyMethodDef _convert_methods[] = {
100
{"argb2rgba", _convert_argb2rgba, METH_VARARGS,
101
"Convert aRGB to RGBA in place."},
102
{NULL, NULL, 0, NULL}
103
};
104
105
-static struct PyModuleDef convertmodule = {
+static struct PyModuleDef _convert_module = {
106
PyModuleDef_HEAD_INIT,
107
"_convert",
108
NULL,
109
0,
110
- ConvertMethods
+ _convert_methods,
111
112
113
PyMODINIT_FUNC
114
PyInit__convert(void)
115
{
116
- return PyModule_Create2(&convertmodule, PYTHON_API_VERSION);
+ return PyModule_Create2(&_convert_module, PYTHON_API_VERSION);
117
0 commit comments