فهرست منبع

Removed trailing commas in enums

Petar Popovic 7 ماه پیش
والد
کامیت
1751e127c8
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      include/SDL3/SDL_audio.h
  2. 1 1
      include/SDL3/SDL_gpu.h
  3. 1 1
      include/SDL3/SDL_iostream.h

+ 1 - 1
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;
 

+ 1 - 1
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;

+ 1 - 1
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;
 
 /**