From b2245fcf33d53080488b9c3a174b925e7606c0b4 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Thu, 9 Dec 2021 23:05:35 -0800 Subject: [PATCH] Backport PR #21834: MAINT Fix signature qhull version function --- src/qhull_wrap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qhull_wrap.cpp b/src/qhull_wrap.cpp index f219f88b4b14..cdebaf730493 100644 --- a/src/qhull_wrap.cpp +++ b/src/qhull_wrap.cpp @@ -295,14 +295,14 @@ delaunay(PyObject *self, PyObject *args) /* Return qhull version string for assistance in debugging. */ static PyObject* -version(void) +version(PyObject *self, PyObject *arg) { return PyBytes_FromString(qh_version); } static PyMethodDef qhull_methods[] = { - {"delaunay", (PyCFunction)delaunay, METH_VARARGS, ""}, - {"version", (PyCFunction)version, METH_NOARGS, ""}, + {"delaunay", delaunay, METH_VARARGS, ""}, + {"version", version, METH_NOARGS, ""}, {NULL, NULL, 0, NULL} }; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy