Remove 'Enum' suffixes (bug 4813)

Sylvain Becker 2019-10-11 06:18:24 +02:00
parent a0934a23fd
commit e5198bd29d
3 changed files with 7 additions and 7 deletions

View File

@ -317,7 +317,7 @@ typedef enum
SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND), SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND),
SDLK_AUDIOFASTFORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOFASTFORWARD) SDLK_AUDIOFASTFORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOFASTFORWARD)
} SDL_KeyCodeEnum; } SDL_KeyCode;
/** /**
* \brief Enumeration of valid key mods (possibly OR'd together). * \brief Enumeration of valid key mods (possibly OR'd together).

View File

@ -94,7 +94,7 @@ typedef enum
}; };
*/ */
SDL_LOG_CATEGORY_CUSTOM SDL_LOG_CATEGORY_CUSTOM
} SDL_LogCategoryEnum; } SDL_LogCategory;
/** /**
* \brief The predefined log priorities * \brief The predefined log priorities

View File

@ -62,7 +62,7 @@ typedef enum
SDL_PIXELTYPE_ARRAYU32, SDL_PIXELTYPE_ARRAYU32,
SDL_PIXELTYPE_ARRAYF16, SDL_PIXELTYPE_ARRAYF16,
SDL_PIXELTYPE_ARRAYF32 SDL_PIXELTYPE_ARRAYF32
} SDL_PixelTypeEnum; } SDL_PixelType;
/** Bitmap pixel order, high bit -> low bit. */ /** Bitmap pixel order, high bit -> low bit. */
typedef enum typedef enum
@ -70,7 +70,7 @@ typedef enum
SDL_BITMAPORDER_NONE, SDL_BITMAPORDER_NONE,
SDL_BITMAPORDER_4321, SDL_BITMAPORDER_4321,
SDL_BITMAPORDER_1234 SDL_BITMAPORDER_1234
} SDL_BitmapOrderEnum; } SDL_BitmapOrder;
/** Packed component order, high bit -> low bit. */ /** Packed component order, high bit -> low bit. */
typedef enum typedef enum
@ -84,7 +84,7 @@ typedef enum
SDL_PACKEDORDER_BGRX, SDL_PACKEDORDER_BGRX,
SDL_PACKEDORDER_ABGR, SDL_PACKEDORDER_ABGR,
SDL_PACKEDORDER_BGRA SDL_PACKEDORDER_BGRA
} SDL_PackedOrderEnum; } SDL_PackedOrder;
/** Array component order, low byte -> high byte. */ /** Array component order, low byte -> high byte. */
/* !!! FIXME: in 2.1, make these not overlap differently with /* !!! FIXME: in 2.1, make these not overlap differently with
@ -98,7 +98,7 @@ typedef enum
SDL_ARRAYORDER_BGR, SDL_ARRAYORDER_BGR,
SDL_ARRAYORDER_BGRA, SDL_ARRAYORDER_BGRA,
SDL_ARRAYORDER_ABGR SDL_ARRAYORDER_ABGR
} SDL_ArrayOrderEnum; } SDL_ArrayOrder;
/** Packed component layout. */ /** Packed component layout. */
typedef enum typedef enum
@ -112,7 +112,7 @@ typedef enum
SDL_PACKEDLAYOUT_8888, SDL_PACKEDLAYOUT_8888,
SDL_PACKEDLAYOUT_2101010, SDL_PACKEDLAYOUT_2101010,
SDL_PACKEDLAYOUT_1010102 SDL_PACKEDLAYOUT_1010102
} SDL_PackedLayoutEnum; } SDL_PackedLayout;
#define SDL_DEFINE_PIXELFOURCC(A, B, C, D) SDL_FOURCC(A, B, C, D) #define SDL_DEFINE_PIXELFOURCC(A, B, C, D) SDL_FOURCC(A, B, C, D)