Files
wxWidgets/version-script.in
T
Vadim Zeitlin ed7defadd2 Fix multiple errors in the version script
Embarrassingly, almost none of the entries in the version script were
taken into account due to the function specifications not matching
anything in the generated library because they either omitted the
function signature entirely (which is apparently not allowed in extern
"C++" blocks) or specified it with the wrong "const" placement: "West
const" convention must be used here to match anything.

Fix the signatures to make things really work. Note that some of them
still don't have any effect because they apply to inline functions, but
it seems harmless to keep them.
2025-01-01 23:55:50 +01:00

82 lines
2.7 KiB
Plaintext

#
# Notes:
#
# Remove all of the tags below except for the last one when creating new
# development branch.
#
# Once a symbol has been included in a stable release of wxWidgets its version
# cannot be changed.
#
# With each new release a section should be added containing any new symbols,
# for example:
#
# # public symbols added in release @WX_VERSION_TAG@.2 (please keep in alphabetical order):
# @WX_VERSION_TAG@.2 {
# extern "C++"
# "wxChoice::GetCurrentSelection()";
# };
# };
#
# If a symbols should have been added in this way, but is forgotten then it
# cannot be added in the next release. This is because it has already been
# released with the generic branch version due to the final wildcard below,
# and once released its version cannot be changed.
# When adding a new section here, don't forget to modify the version in
# build/bakefiles/version.bkl to indicate that new APIs have been added and
# rebake!
# public symbols added in 3.2.7 (please keep in alphabetical order):
@WX_VERSION_TAG@.7 {
extern "C++" {
"wxAppConsoleBase::SetErrorExitCode(int)";
"wxAppConsoleBase::GetErrorExitCode() const";
};
};
# public symbols added in 3.2.6 (please keep in alphabetical order):
@WX_VERSION_TAG@.6 {
extern "C++" {
"wxTranslations::AddAvailableCatalog(wxString const&, wxLanguage)";
"wxEventTableEntry::wxEventTableEntry(wxEventTableEntry const&)";
"wxSystemSettingsNative::SelectLightDark(wxColour, wxColour)";
};
};
# public symbols added in 3.2.3 (please keep in alphabetical order):
@WX_VERSION_TAG@.3 {
extern "C++" {
"wxGLCanvasEGL::CreateWaylandSubsurface()";
"wxGLCanvasEGL::DestroyWaylandSubsurface()";
"wxTranslations::AddAvailableCatalog(wxString const&)";
"wxTranslations::GetBestAvailableTranslation(wxString const&)";
"wxUILocale::GetMonthName(wxDateTime::Month, wxDateTime::NameFlags) const";
"wxUILocale::GetWeekDayName(wxDateTime::WeekDay, wxDateTime::NameFlags) const";
};
};
# public symbols added in 3.2.2 (please keep in alphabetical order):
@WX_VERSION_TAG@.2 {
extern "C++" {
"wxUILocale::GetSystemLocaleId()";
"wxWithImages::GetImageLogicalSize(wxWindow const*, int)";
"wxWithImages::GetImageLogicalSize(wxWindow const*, int, int&, int&)";
"wxWithImages::GetImageBitmapFor(wxWindow const*, int)";
};
};
# public symbols added in 3.2.1
@WX_VERSION_TAG@.1 {
extern "C++" {
"wxApp::GTKAllowDiagnosticsControl()";
"wxFileDialogBase::AddShortcut(wxString const&, int)";
};
};
# symbols available since the beginning of this branch are only given
# generic branch tag (don't remove this!):
@WX_VERSION_TAG@ {
*;
};