mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
fnsince: update \since policy for documentation.
Everything in SDL3 up to the ABI lock is reported as available since 3.1.3. Everything else will be reported as since 3.2.0 (what will be the first official release). Also ran a Perl script over the headers to change everything to 3.1.3 that wasn't an API function, since fnsince.pl can't manage those. If there's a macro or datatype that has snuck in that needs to be 3.2.0 instead, we'll have to manually fix it up, but it shouldn't be a big deal in any case. Reference PR #11304.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for AIX.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_AIX 1
|
||||
#endif
|
||||
@@ -43,7 +43,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Haiku OS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_HAIKU 1
|
||||
#endif
|
||||
@@ -53,7 +53,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for BSDi
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_BSDI 1
|
||||
#endif
|
||||
@@ -63,7 +63,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for FreeBSD.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_FREEBSD 1
|
||||
#endif
|
||||
@@ -73,7 +73,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for HP-UX.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_HPUX 1
|
||||
#endif
|
||||
@@ -83,7 +83,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for IRIX.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_IRIX 1
|
||||
#endif
|
||||
@@ -96,7 +96,7 @@
|
||||
* Note that Android, although ostensibly a Linux-based system, will not
|
||||
* define this. It defines SDL_PLATFORM_ANDROID instead.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_LINUX 1
|
||||
#endif
|
||||
@@ -106,7 +106,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Android.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_ANDROID 1
|
||||
#undef SDL_PLATFORM_LINUX
|
||||
@@ -117,7 +117,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Nokia N-Gage.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_NGAGE 1
|
||||
#endif
|
||||
@@ -131,7 +131,7 @@
|
||||
* Other platforms, like Linux, might define this in addition to their primary
|
||||
* define.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_UNIX 1
|
||||
#endif
|
||||
@@ -143,7 +143,7 @@
|
||||
*
|
||||
* iOS, macOS, etc will additionally define a more specific platform macro.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_PLATFORM_MACOS
|
||||
* \sa SDL_PLATFORM_IOS
|
||||
@@ -190,7 +190,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for tvOS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_PLATFORM_APPLE
|
||||
*/
|
||||
@@ -202,7 +202,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for VisionOS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_PLATFORM_APPLE
|
||||
*/
|
||||
@@ -214,7 +214,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for iOS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_PLATFORM_APPLE
|
||||
*/
|
||||
@@ -225,7 +225,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for macOS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_PLATFORM_APPLE
|
||||
*/
|
||||
@@ -242,7 +242,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Emscripten.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_EMSCRIPTEN 1
|
||||
#endif
|
||||
@@ -252,7 +252,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for NetBSD.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_NETBSD 1
|
||||
#endif
|
||||
@@ -262,7 +262,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for OpenBSD.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_OPENBSD 1
|
||||
#endif
|
||||
@@ -272,7 +272,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for OS/2.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_OS2 1
|
||||
#endif
|
||||
@@ -282,7 +282,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Tru64 (OSF/1).
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_OSF 1
|
||||
#endif
|
||||
@@ -292,7 +292,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for QNX Neutrino.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_QNXNTO 1
|
||||
#endif
|
||||
@@ -302,7 +302,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for RISC OS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_RISCOS 1
|
||||
#endif
|
||||
@@ -312,7 +312,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for SunOS/Solaris.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_SOLARIS 1
|
||||
#endif
|
||||
@@ -322,7 +322,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Cygwin.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_CYGWIN 1
|
||||
#endif
|
||||
@@ -335,7 +335,7 @@
|
||||
* This also covers several other platforms, like Microsoft GDK, Xbox, WinRT,
|
||||
* etc. Each will have their own more-specific platform macros, too.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_PLATFORM_WIN32
|
||||
* \sa SDL_PLATFORM_XBOXONE
|
||||
@@ -382,7 +382,7 @@
|
||||
* A preprocessor macro that is only defined if compiling for Microsoft GDK
|
||||
* for Windows.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_WINGDK 1
|
||||
|
||||
@@ -391,7 +391,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Xbox One.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_XBOXONE 1
|
||||
|
||||
@@ -400,7 +400,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Xbox Series.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_XBOXSERIES 1
|
||||
|
||||
@@ -413,7 +413,7 @@
|
||||
* convention, its system layer tends to still be referred to as "the Win32
|
||||
* API."
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_WIN32 1
|
||||
|
||||
@@ -428,7 +428,7 @@
|
||||
* A preprocessor macro that is only defined if compiling for Microsoft GDK on
|
||||
* any platform.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_GDK 1
|
||||
#endif
|
||||
@@ -438,7 +438,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Sony PSP.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_PSP 1
|
||||
#endif
|
||||
@@ -449,7 +449,7 @@
|
||||
* A preprocessor macro that is only defined if compiling for Sony PlayStation
|
||||
* 2.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_PS2 1
|
||||
#endif
|
||||
@@ -459,7 +459,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Sony Vita.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_VITA 1
|
||||
#endif
|
||||
@@ -469,7 +469,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Nintendo 3DS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.0.0.
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
*/
|
||||
#define SDL_PLATFORM_3DS 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user