[pypy-commit] pypy default: fix incomplete comment

arigo noreply at buildbot.pypy.org
Wed Jan 28 17:58:38 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r75570:b3f3a6ece458
Date: 2015-01-28 17:58 +0100
http://bitbucket.org/pypy/pypy/changeset/b3f3a6ece458/

Log:	fix incomplete comment

diff --git a/rpython/translator/tool/cbuild.py b/rpython/translator/tool/cbuild.py
--- a/rpython/translator/tool/cbuild.py
+++ b/rpython/translator/tool/cbuild.py
@@ -59,7 +59,11 @@
         separately and linked later on.  (If an .h file is needed for
         other .c files to access this, it can be put in includes.)
 
-        (export_symbols: killed, replaced by @rlib.entrypoint.export_symbol)
+        (export_symbols: killed; you need, depending on the case, to
+        add the RPY_EXTERN or RPY_EXPORTED macro just before the
+        declaration of each function in the C header file, as explained
+        in translator/c/src/precommondefs.h; or you need the decorator
+        @rlib.entrypoint.export_symbol)
 
         compile_extra: list of parameters which will be directly passed to
         the compiler


More information about the pypy-commit mailing list