[pypy-commit] pypy kill-exported-symbols-list: Blind fix
arigo
noreply at buildbot.pypy.org
Thu Oct 23 15:39:05 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
Branch: kill-exported-symbols-list
Changeset: r74121:4a6745cd8a67
Date: 2014-10-23 15:38 +0200
http://bitbucket.org/pypy/pypy/changeset/4a6745cd8a67/
Log: Blind fix
diff --git a/pypy/module/cppyy/test/test_crossing.py b/pypy/module/cppyy/test/test_crossing.py
--- a/pypy/module/cppyy/test/test_crossing.py
+++ b/pypy/module/cppyy/test/test_crossing.py
@@ -49,9 +49,8 @@
kwds["compile_extra"]=["-Werror=implicit-function-declaration"]
modname = modname.split('.')[-1]
- xxxxxxxxxxxxxxxxxxxxxxx
eci = ExternalCompilationInfo(
- export_symbols=['init%s' % (modname,)]+symbols,
+ #export_symbols=['init%s' % (modname,)]+symbols,
include_dirs=api.include_dirs,
**kwds
)
@@ -90,7 +89,8 @@
#include <Python.h>
%(body)s
- void init%(name)s(void) {
+ PyMODINIT_FUNC
+ init%(name)s(void) {
%(init)s
}
""" % dict(name=name, init=init, body=body)
More information about the pypy-commit
mailing list