X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b2b40b45fd13c5fead54b7d36819b1411fdef63..4e916e61ea24c165fb55e78172f1093bf7481b48:/src/common/extended.c diff --git a/src/common/extended.c b/src/common/extended.c index 53cf1db8b5..6844663420 100644 --- a/src/common/extended.c +++ b/src/common/extended.c @@ -105,7 +105,7 @@ * and a 64-bit mantissa, with no hidden bit. ****************************************************************/ -wxFloat64 ConvertFromIeeeExtended(const wxInt8 *bytes) +WXDLLIMPEXP_BASE wxFloat64 wxConvertFromIeeeExtended(const wxInt8 *bytes) { wxFloat64 f; wxInt32 expon; @@ -145,7 +145,7 @@ wxFloat64 ConvertFromIeeeExtended(const wxInt8 *bytes) /****************************************************************/ -void ConvertToIeeeExtended(wxFloat64 num, wxInt8 *bytes) +WXDLLIMPEXP_BASE void wxConvertToIeeeExtended(wxFloat64 num, wxInt8 *bytes) { wxInt32 sign; wxInt32 expon; @@ -191,6 +191,16 @@ void ConvertToIeeeExtended(wxFloat64 num, wxInt8 *bytes) bytes[9] = loMant; } +#if WXWIN_COMPATIBILITY_2_8 +WXDLLIMPEXP_BASE wxFloat64 ConvertFromIeeeExtended(const wxInt8 *bytes) +{ + return wxConvertFromIeeeExtended(bytes); +} +WXDLLIMPEXP_BASE void ConvertToIeeeExtended(wxFloat64 num, wxInt8 *bytes) +{ + wxConvertToIeeeExtended(num, bytes); +} +#endif // WXWIN_COMPATIBILITY_2_8 #endif /* wxUSE_APPLE_IEEE */