Skip to content

Commit 0501e5f

Browse files
committed
convert: name structs consistently
Signed-off-by: Benjamin Gilbert <[email protected]>
1 parent abd51f6 commit 0501e5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

openslide/_convert.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,22 +96,22 @@ _convert_argb2rgba(PyObject *self, PyObject *args)
9696
return ret;
9797
}
9898

99-
static PyMethodDef ConvertMethods[] = {
99+
static PyMethodDef _convert_methods[] = {
100100
{"argb2rgba", _convert_argb2rgba, METH_VARARGS,
101101
"Convert aRGB to RGBA in place."},
102102
{NULL, NULL, 0, NULL}
103103
};
104104

105-
static struct PyModuleDef convertmodule = {
105+
static struct PyModuleDef _convert_module = {
106106
PyModuleDef_HEAD_INIT,
107107
"_convert",
108108
NULL,
109109
0,
110-
ConvertMethods
110+
_convert_methods,
111111
};
112112

113113
PyMODINIT_FUNC
114114
PyInit__convert(void)
115115
{
116-
return PyModule_Create2(&convertmodule, PYTHON_API_VERSION);
116+
return PyModule_Create2(&_convert_module, PYTHON_API_VERSION);
117117
}

0 commit comments

Comments
 (0)