[pypy-svn] r74070 - pypy/branch/cpython-extension/pypy/module/cpyext

afa at codespeak.net afa at codespeak.net
Mon Apr 26 14:17:41 CEST 2010


Author: afa
Date: Mon Apr 26 14:17:39 2010
New Revision: 74070

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/api.py
Log:
Now that functions are properly marked with PyAPI_FUNC, there is no need to "/export" them again.


Modified: pypy/branch/cpython-extension/pypy/module/cpyext/api.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/api.py	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/api.py	Mon Apr 26 14:17:39 2010
@@ -486,7 +486,7 @@
 def build_bridge(space):
     from pypy.module.cpyext.pyobject import make_ref
 
-    export_symbols = list(FUNCTIONS) + SYMBOLS_C + list(GLOBALS)
+    export_symbols = SYMBOLS_C + list(GLOBALS)
     from pypy.translator.c.database import LowLevelDatabase
     db = LowLevelDatabase()
 
@@ -689,7 +689,7 @@
 def setup_library(space):
     from pypy.module.cpyext.pyobject import make_ref
 
-    export_symbols = list(FUNCTIONS) + SYMBOLS_C + list(GLOBALS)
+    export_symbols = SYMBOLS_C + list(GLOBALS)
     from pypy.translator.c.database import LowLevelDatabase
     db = LowLevelDatabase()
 



More information about the Pypy-commit mailing list