Skip to content

Commit 7546f89

Browse files
committed
enum IMG_AnimationDecoderStatus: fix coding style and add a since field
1 parent 1bb39ca commit 7546f89

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

include/SDL3_image/SDL_image.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2405,14 +2405,16 @@ extern SDL_DECLSPEC IMG_Animation * SDLCALL IMG_LoadWEBPAnimation_IO(SDL_IOStrea
24052405

24062406
/**
24072407
* An enum representing the status of the encoder and decoder.
2408+
*
2409+
* \since This enum is available since SDL_image 3.4.0.
24082410
*/
24092411
typedef enum IMG_AnimationDecoderStatus
24102412
{
2411-
IMG_DECODER_STATUS_OK, /**< Decoded the frame successfully. */
2412-
IMG_DECODER_STATUS_FAILED, /**< Decoding the frame failed. Call SDL_GetError for more information. */
2413-
IMG_DECODER_STATUS_COMPLETE, /**< No more frames available. */
2413+
IMG_DECODER_STATUS_OK, /**< Decoded the frame successfully. */
2414+
IMG_DECODER_STATUS_FAILED, /**< Decoding the frame failed. Call SDL_GetError for more information. */
2415+
IMG_DECODER_STATUS_COMPLETE, /**< No more frames available. */
24142416

2415-
IMG_DECODER_STATUS_INVALID, /**< Invalid decoder status that does not represent any valid status. */
2417+
IMG_DECODER_STATUS_INVALID /**< Invalid decoder status that does not represent any valid status. */
24162418
} IMG_AnimationDecoderStatus;
24172419

24182420
/**

0 commit comments

Comments
 (0)