From f8ffc04215b1be9ade91d418c0e0cf309e1809a2 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 30 Jun 2018 19:30:58 +0100 Subject: [PATCH] Use SWIGRUNTIME for SwigPyObject_repr2 --- Lib/python/pyrun.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/python/pyrun.swg b/Lib/python/pyrun.swg index 5ad5713fd..d8d2488ae 100644 --- a/Lib/python/pyrun.swg +++ b/Lib/python/pyrun.swg @@ -431,7 +431,7 @@ SwigPyObject_repr(SwigPyObject *v) /* We need a version taking two PyObject* parameters so it's a valid * PyCFunction to use in swigobject_methods[]. */ -static PyObject * +SWIGRUNTIME PyObject * SwigPyObject_repr2(PyObject *v, PyObject *SWIGUNUSEDPARM(args)) { return SwigPyObject_repr((SwigPyObject*)v);