removing static definition of Python methods (static intrinsically means that
authorFilippo Gioachin <gioachin@illinois.edu>
Tue, 8 Mar 2005 16:46:29 +0000 (16:46 +0000)
committerFilippo Gioachin <gioachin@illinois.edu>
Tue, 8 Mar 2005 16:46:29 +0000 (16:46 +0000)
the declarations are not seen outside the scope of the file!)

src/xlat-i/xi-symbol.C

index 391a805c4e9c8108a7873ca9979ab8c81834f8f2..1a46bf62b39355e9bb263ba68dab4ed2db733ded 100644 (file)
@@ -2411,7 +2411,7 @@ void Entry::genPythonDecls(XStr& str) {
       die("A python entry method must accept only one parameter of type `int`");
     }
 
-    str << "static PyObject *_Python_"<<container->baseName()<<"_"<<name<<"(PyObject *self, PyObject *arg);\n";
+    str << "PyObject *_Python_"<<container->baseName()<<"_"<<name<<"(PyObject *self, PyObject *arg);\n";
   }
 }