From 15e9a71f11787ea0c3bf49898582a686f3f05a8a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 3 Nov 2009 14:10:46 +0000 Subject: [PATCH] Export Convert{From,To}IeeeExtended() functions from wx DLL. Closes #8710. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/math.h | 4 ++-- version-script.in | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/wx/math.h b/include/wx/math.h index f1f4d889f7..95f4f84508 100644 --- a/include/wx/math.h +++ b/include/wx/math.h @@ -129,8 +129,8 @@ extern "C" { #endif /* functions from common/extended.c */ - extern wxFloat64 ConvertFromIeeeExtended(const wxInt8 *bytes); - extern void ConvertToIeeeExtended(wxFloat64 num, wxInt8 *bytes); + WXDLLEXPORT wxFloat64 ConvertFromIeeeExtended(const wxInt8 *bytes); + WXDLLEXPORT void ConvertToIeeeExtended(wxFloat64 num, wxInt8 *bytes); #ifdef __cplusplus } #endif diff --git a/version-script.in b/version-script.in index 3fcc2cce48..9c8708a158 100644 --- a/version-script.in +++ b/version-script.in @@ -24,7 +24,12 @@ # and once released its version cannot be changed. # public symbols added in 2.8.11 (please keep in alphabetical order): +# +# NB: Convert{From,To}IeeeExtended() were not really added but they were not +# exported from the shared library before so the effect is as if they were @WX_VERSION_TAG@.11 { + *ConvertFromIeeeExtended*; + *ConvertToIeeeExtended*; *wxDC*SetDeviceClippingRegion*; *wxGraphicsContext*GetCairoRenderer*; *wxIconizeEvent*IsIconized*;