include: Filling in more documentation gaps.

This commit is contained in:
Ryan C. Gordon
2024-05-03 13:01:41 -04:00
parent 92bd7d99dd
commit a790a67883
5 changed files with 125 additions and 37 deletions

View File

@@ -66,10 +66,18 @@ extern "C" {
*/
#define SDL_MUSTLOCK(S) (((S)->flags & SDL_RLEACCEL) != 0)
typedef struct SDL_BlitMap SDL_BlitMap; /* this is an opaque type. */
/**
* An opaque type used in SDL_Surface.
*
* This is used by SDL to keep track of how blit operations should work
* internally; it is not for use directly by applications.
*
* \since This struct is available since SDL 3.0.0.
*/
typedef struct SDL_BlitMap SDL_BlitMap;
/**
* The scaling mode
* The scaling mode.
*
* \since This enum is available since SDL 3.0.0.
*/
@@ -81,7 +89,7 @@ typedef enum SDL_ScaleMode
} SDL_ScaleMode;
/**
* The flip mode
* The flip mode.
*
* \since This enum is available since SDL 3.0.0.
*/