8000 Remove unneeded cast to PyCFunction · matplotlib/matplotlib@893e24b · GitHub
[go: up one dir, main page]

Skip to content

Commit 893e24b

Browse files
committed
Remove unneeded cast to PyCFunction
1 parent 9edd103 commit 893e24b

1 file changed

+2
-2
lines changed

src/qhull_wrap.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ version(PyObject *self, PyObject *arg)
301301
}
302302

303303
static PyMethodDef qhull_methods[] = {
304-
{"delaunay", (PyCFunction)delaunay, METH_VARARGS, ""},
305-
{"version", (PyCFunction)version, METH_NOARGS, ""},
304+
{"delaunay", delaunay, METH_VARARGS, ""},
305+
{"version", version, METH_NOARGS, ""},
306306
{NULL, NULL, 0, NULL}
307307
};
308308

0 commit comments

Comments
 (0)
0