From 1751e127c8828955765e1b80bf4012685b4f8801 Mon Sep 17 00:00:00 2001
From: Petar Popovic <[EMAIL REDACTED]>
Date: Sun, 1 Sep 2024 07:08:50 +0200
Subject: [PATCH] Removed trailing commas in enums
---
include/SDL3/SDL_audio.h | 2 +-
include/SDL3/SDL_gpu.h | 2 +-
include/SDL3/SDL_iostream.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/SDL3/SDL_audio.h b/include/SDL3/SDL_audio.h
index b7a4b7b648a57..37e7f06db8c6a 100644
--- a/include/SDL3/SDL_audio.h
+++ b/include/SDL3/SDL_audio.h
@@ -142,7 +142,7 @@ typedef enum SDL_AudioFormat
/* SDL_DEFINE_AUDIO_FORMAT(1, 1, 0, 32), */
SDL_AUDIO_F32LE = 0x8120u, /**< 32-bit floating point samples */
/* SDL_DEFINE_AUDIO_FORMAT(1, 0, 1, 32), */
- SDL_AUDIO_F32BE = 0x9120u, /**< As above, but big-endian byte order */
+ SDL_AUDIO_F32BE = 0x9120u /**< As above, but big-endian byte order */
/* SDL_DEFINE_AUDIO_FORMAT(1, 1, 1, 32), */
} SDL_AudioFormat;
diff --git a/include/SDL3/SDL_gpu.h b/include/SDL3/SDL_gpu.h
index bba47cc4ffc43..21bdce416d568 100644
--- a/include/SDL3/SDL_gpu.h
+++ b/include/SDL3/SDL_gpu.h
@@ -268,7 +268,7 @@ typedef enum SDL_GPUShaderFormatFlagBits
SDL_GPU_SHADERFORMAT_DXBC = 0x00000004, /* D3D11 (Shader Model 5_0) */
SDL_GPU_SHADERFORMAT_DXIL = 0x00000008, /* D3D12 */
SDL_GPU_SHADERFORMAT_MSL = 0x00000010, /* Metal */
- SDL_GPU_SHADERFORMAT_METALLIB = 0x00000020, /* Metal */
+ SDL_GPU_SHADERFORMAT_METALLIB = 0x00000020 /* Metal */
} SDL_GPUShaderFormatFlagBits;
typedef Uint32 SDL_GPUShaderFormat;
diff --git a/include/SDL3/SDL_iostream.h b/include/SDL3/SDL_iostream.h
index a306debb3f598..4e4ea1294dd46 100644
--- a/include/SDL3/SDL_iostream.h
+++ b/include/SDL3/SDL_iostream.h
@@ -72,7 +72,7 @@ typedef enum SDL_IOWhence
{
SDL_IO_SEEK_SET, /**< Seek from the beginning of data */
SDL_IO_SEEK_CUR, /**< Seek relative to current read point */
- SDL_IO_SEEK_END, /**< Seek relative to the end of data */
+ SDL_IO_SEEK_END /**< Seek relative to the end of data */
} SDL_IOWhence;
/**