[pypy-commit] pypy kill-exported-symbols-list: blind check-in

arigo noreply at buildbot.pypy.org
Thu Oct 23 16:23:01 CEST 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: kill-exported-symbols-list
Changeset: r74134:7c41a4317ec5
Date: 2014-10-23 16:14 +0200
http://bitbucket.org/pypy/pypy/changeset/7c41a4317ec5/

Log:	blind check-in

diff --git a/rpython/rtyper/lltypesystem/module/ll_math.py b/rpython/rtyper/lltypesystem/module/ll_math.py
--- a/rpython/rtyper/lltypesystem/module/ll_math.py
+++ b/rpython/rtyper/lltypesystem/module/ll_math.py
@@ -31,9 +31,6 @@
         include_dirs=[cdir],
         includes=['src/ll_math.h'],
         separate_module_files=[cdir.join('src', 'll_math.c')],
-        export_symbols=['_pypy_math_acosh', '_pypy_math_asinh',
-                        '_pypy_math_atanh',
-                        '_pypy_math_expm1', '_pypy_math_log1p'],
         )
     math_prefix = '_pypy_math_'
 else:
diff --git a/rpython/translator/c/src/ll_math.h b/rpython/translator/c/src/ll_math.h
--- a/rpython/translator/c/src/ll_math.h
+++ b/rpython/translator/c/src/ll_math.h
@@ -1,9 +1,11 @@
 /* Definitions of some C99 math library functions, for those platforms
    that don't implement these functions already. */
 
-double _pypy_math_acosh(double x);
-double _pypy_math_asinh(double x);
-double _pypy_math_atanh(double x);
+#include "src/precommondefs.h"
 
-double _pypy_math_expm1(double x);
-double _pypy_math_log1p(double x);
+RPY_EXPORTED_FOR_TESTS double _pypy_math_acosh(double x);
+RPY_EXPORTED_FOR_TESTS double _pypy_math_asinh(double x);
+RPY_EXPORTED_FOR_TESTS double _pypy_math_atanh(double x);
+
+RPY_EXPORTED_FOR_TESTS double _pypy_math_expm1(double x);
+RPY_EXPORTED_FOR_TESTS double _pypy_math_log1p(double x);


More information about the pypy-commit mailing list