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:
@@ -55,7 +55,7 @@ extern "C" {
|
||||
* consistent as long as SDL can recognize a tool to be the same pen; but if a
|
||||
* pen physically leaves the area and returns, it might get a new ID.
|
||||
*
|
||||
* \since This datatype is available since SDL 3.0.0.
|
||||
* \since This datatype is available since SDL 3.1.3.
|
||||
*/
|
||||
typedef Uint32 SDL_PenID;
|
||||
|
||||
@@ -63,7 +63,7 @@ typedef Uint32 SDL_PenID;
|
||||
/**
|
||||
* Pen input flags, as reported by various pen events' `pen_state` field.
|
||||
*
|
||||
* \since This datatype is available since SDL 3.0.0.
|
||||
* \since This datatype is available since SDL 3.1.3.
|
||||
*/
|
||||
typedef Uint32 SDL_PenInputFlags;
|
||||
|
||||
@@ -88,7 +88,7 @@ typedef Uint32 SDL_PenInputFlags;
|
||||
*
|
||||
* `SDL_sinf(xtilt * SDL_PI_F / 180.0)`.
|
||||
*
|
||||
* \since This enum is available since SDL 3.0.0
|
||||
* \since This enum is available since SDL 3.1.3
|
||||
*/
|
||||
typedef enum SDL_PenAxis
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user