8000 Merge pull request #21908 from meeseeksmachine/auto-backport-of-pr-21… · matplotlib/matplotlib@3fff26c · GitHub
[go: up one dir, main page]

Skip to content

Commit 3fff26c

Browse files
authored
Merge pull request #21908 from meeseeksmachine/auto-backport-of-pr-21834-on-v3.5.x
Backport PR #21834 on branch v3.5.x (MAINT Fix signature qhull version function )
2 parents a73fd66 + b2245fc commit 3fff26c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/qhull_wrap.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,14 +295,14 @@ delaunay(PyObject *self, PyObject *args)
295295

296296
/* Return qhull version string for assistance in debugging. */
297297
static PyObject*
298-
version(void)
298+
version(PyObject *self, PyObject *arg)
299299
{
300300
return PyBytes_FromString(qh_version);
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