Author: Armin Rigo <[email protected]>
Branch: kill-exported-symbols-list
Changeset: r74104:b63c8a1c9269
Date: 2014-10-23 11:33 +0200
http://bitbucket.org/pypy/pypy/changeset/b63c8a1c9269/
Log: fix fix
diff --git a/rpython/rlib/rdtoa.py b/rpython/rlib/rdtoa.py
--- a/rpython/rlib/rdtoa.py
+++ b/rpython/rlib/rdtoa.py
@@ -32,10 +32,6 @@
includes = ['src/dtoa.h'],
libraries = [],
separate_module_sources = [source_file],
- export_symbols = ['_PyPy_dg_strtod',
- '_PyPy_dg_dtoa',
- '_PyPy_dg_freedtoa',
- ],
)
# dtoa.c is limited to 'int', so we refuse to pass it
diff --git a/rpython/translator/c/src/dtoa.h b/rpython/translator/c/src/dtoa.h
--- a/rpython/translator/c/src/dtoa.h
+++ b/rpython/translator/c/src/dtoa.h
@@ -1,7 +1,11 @@
/* Exported functions from dtoa.c */
+RPY_EXPORTED_FOR_TESTS
double _PyPy_dg_strtod(const char *str, char **ptr);
+
+RPY_EXPORTED_FOR_TESTS
char * _PyPy_dg_dtoa(double d, int mode, int ndigits,
int *decpt, int *sign, char **rve);
+
+RPY_EXPORTED_FOR_TESTS
void _PyPy_dg_freedtoa(char *s);
-
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit