Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r63923:6d23754a30c9
Date: 2013-05-08 19:19 +0200
http://bitbucket.org/pypy/pypy/changeset/6d23754a30c9/
Log: export also this
diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py
--- a/rpython/translator/c/genc.py
+++ b/rpython/translator/c/genc.py
@@ -112,7 +112,7 @@
str(exename), args))
profdrv.probe(exename, args)
return profdrv.after()
-
+
class CBuilder(object):
c_source_filename = None
_compiled = False
@@ -149,7 +149,7 @@
thread_enabled=self.config.translation.thread,
sandbox=self.config.translation.sandbox)
self.db = db
-
+
# give the gc a chance to register interest in the start-up functions
it
# need (we call this for its side-effects of db.get())
list(db.gcpolicy.gc_startup_code())
@@ -257,7 +257,8 @@
if self.config.translation.shared:
defines['PYPY_MAIN_FUNCTION'] = "pypy_main_startup"
self.eci = self.eci.merge(ExternalCompilationInfo(
- export_symbols=["pypy_main_startup"]))
+ export_symbols=["pypy_main_startup",
+ 'RPython_StartupCode']))
self.eci, cfile, extra = gen_source(db, modulename, targetdir,
self.eci, defines=defines,
split=self.split)
@@ -622,7 +623,7 @@
if self.database.gcpolicy.need_no_typeptr():
pass # XXX gcc uses toooooons of memory???
else:
- split_criteria_big = SPLIT_CRITERIA * 4
+ split_criteria_big = SPLIT_CRITERIA * 4
#
# All declarations
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit