mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-26 12:27:44 +00: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:
@@ -58,7 +58,7 @@ extern "C" {
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*/
|
||||
extern SDL_DECLSPEC Uint64 SDLCALL SDL_GetTicks(void);
|
||||
|
||||
@@ -70,7 +70,7 @@ extern SDL_DECLSPEC Uint64 SDLCALL SDL_GetTicks(void);
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*/
|
||||
extern SDL_DECLSPEC Uint64 SDLCALL SDL_GetTicksNS(void);
|
||||
|
||||
@@ -87,7 +87,7 @@ extern SDL_DECLSPEC Uint64 SDLCALL SDL_GetTicksNS(void);
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_GetPerformanceFrequency
|
||||
*/
|
||||
@@ -100,7 +100,7 @@ extern SDL_DECLSPEC Uint64 SDLCALL SDL_GetPerformanceCounter(void);
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_GetPerformanceCounter
|
||||
*/
|
||||
@@ -117,7 +117,7 @@ extern SDL_DECLSPEC Uint64 SDLCALL SDL_GetPerformanceFrequency(void);
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*/
|
||||
extern SDL_DECLSPEC void SDLCALL SDL_Delay(Uint32 ms);
|
||||
|
||||
@@ -132,7 +132,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_Delay(Uint32 ms);
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*/
|
||||
extern SDL_DECLSPEC void SDLCALL SDL_DelayNS(Uint64 ns);
|
||||
|
||||
@@ -147,14 +147,14 @@ extern SDL_DECLSPEC void SDLCALL SDL_DelayNS(Uint64 ns);
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
*
|
||||
* \since This function is available since SDL 3.1.4.
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*/
|
||||
extern SDL_DECLSPEC void SDLCALL SDL_DelayPrecise(Uint64 ns);
|
||||
|
||||
/**
|
||||
* Definition of the timer ID type.
|
||||
*
|
||||
* \since This datatype is available since SDL 3.0.0.
|
||||
* \since This datatype is available since SDL 3.1.3.
|
||||
*/
|
||||
typedef Uint32 SDL_TimerID;
|
||||
|
||||
@@ -178,7 +178,7 @@ typedef Uint32 SDL_TimerID;
|
||||
* thread; the application is responsible for locking resources
|
||||
* the callback touches that need to be protected.
|
||||
*
|
||||
* \since This datatype is available since SDL 3.0.0.
|
||||
* \since This datatype is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_AddTimer
|
||||
*/
|
||||
@@ -213,7 +213,7 @@ typedef Uint32 (SDLCALL *SDL_TimerCallback)(void *userdata, SDL_TimerID timerID,
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_AddTimerNS
|
||||
* \sa SDL_RemoveTimer
|
||||
@@ -240,7 +240,7 @@ extern SDL_DECLSPEC SDL_TimerID SDLCALL SDL_AddTimer(Uint32 interval, SDL_TimerC
|
||||
* thread; the application is responsible for locking resources
|
||||
* the callback touches that need to be protected.
|
||||
*
|
||||
* \since This datatype is available since SDL 3.0.0.
|
||||
* \since This datatype is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_AddTimerNS
|
||||
*/
|
||||
@@ -275,7 +275,7 @@ typedef Uint64 (SDLCALL *SDL_NSTimerCallback)(void *userdata, SDL_TimerID timerI
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_AddTimer
|
||||
* \sa SDL_RemoveTimer
|
||||
@@ -291,7 +291,7 @@ extern SDL_DECLSPEC SDL_TimerID SDLCALL SDL_AddTimerNS(Uint64 interval, SDL_NSTi
|
||||
*
|
||||
* \threadsafety It is safe to call this function from any thread.
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*
|
||||
* \sa SDL_AddTimer
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user