From 9d520877d15075f15102675a8b43248caa4bf32d Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 5 Sep 2002 14:00:57 +0000 Subject: [PATCH] adjustment for IRIX CC; also tested with gcc 3.0.4, VC7, cxx 6.5 [SVN r15168] --- src/object/function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object/function.cpp b/src/object/function.cpp index 187becc9..8aa39dbf 100644 --- a/src/object/function.cpp +++ b/src/object/function.cpp @@ -299,13 +299,13 @@ extern "C" else return python::incref(f->name().ptr()); } +} static PyGetSetDef function_getsetlist[] = { {"__name__", (getter)function_get_name, 0 }, {"__doc__", (getter)function_get_doc, (setter)function_set_doc}, {NULL} /* Sentinel */ }; -} PyTypeObject function_type = { PyObject_HEAD_INIT(0)