Remove 'Enum' suffixes (bug 4813)
authorSylvain Becker <sylvain.becker@gmail.com>
Fri, 11 Oct 2019 06:18:24 +0200
changeset 131104cbaffd0083b
parent 13109 28c572567380
child 13111 369b01006eb2
Remove 'Enum' suffixes (bug 4813)
include/SDL_keycode.h
include/SDL_log.h
include/SDL_pixels.h
     1.1 --- a/include/SDL_keycode.h	Thu Oct 10 17:40:00 2019 +0200
     1.2 +++ b/include/SDL_keycode.h	Fri Oct 11 06:18:24 2019 +0200
     1.3 @@ -317,7 +317,7 @@
     1.4  
     1.5      SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND),
     1.6      SDLK_AUDIOFASTFORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOFASTFORWARD)
     1.7 -} SDL_KeyCodeEnum;
     1.8 +} SDL_KeyCode;
     1.9  
    1.10  /**
    1.11   * \brief Enumeration of valid key mods (possibly OR'd together).
     2.1 --- a/include/SDL_log.h	Thu Oct 10 17:40:00 2019 +0200
     2.2 +++ b/include/SDL_log.h	Fri Oct 11 06:18:24 2019 +0200
     2.3 @@ -94,7 +94,7 @@
     2.4         };
     2.5       */
     2.6      SDL_LOG_CATEGORY_CUSTOM
     2.7 -} SDL_LogCategoryEnum;
     2.8 +} SDL_LogCategory;
     2.9  
    2.10  /**
    2.11   *  \brief The predefined log priorities
     3.1 --- a/include/SDL_pixels.h	Thu Oct 10 17:40:00 2019 +0200
     3.2 +++ b/include/SDL_pixels.h	Fri Oct 11 06:18:24 2019 +0200
     3.3 @@ -62,7 +62,7 @@
     3.4      SDL_PIXELTYPE_ARRAYU32,
     3.5      SDL_PIXELTYPE_ARRAYF16,
     3.6      SDL_PIXELTYPE_ARRAYF32
     3.7 -} SDL_PixelTypeEnum;
     3.8 +} SDL_PixelType;
     3.9  
    3.10  /** Bitmap pixel order, high bit -> low bit. */
    3.11  typedef enum
    3.12 @@ -70,7 +70,7 @@
    3.13      SDL_BITMAPORDER_NONE,
    3.14      SDL_BITMAPORDER_4321,
    3.15      SDL_BITMAPORDER_1234
    3.16 -} SDL_BitmapOrderEnum;
    3.17 +} SDL_BitmapOrder;
    3.18  
    3.19  /** Packed component order, high bit -> low bit. */
    3.20  typedef enum
    3.21 @@ -84,7 +84,7 @@
    3.22      SDL_PACKEDORDER_BGRX,
    3.23      SDL_PACKEDORDER_ABGR,
    3.24      SDL_PACKEDORDER_BGRA
    3.25 -} SDL_PackedOrderEnum;
    3.26 +} SDL_PackedOrder;
    3.27  
    3.28  /** Array component order, low byte -> high byte. */
    3.29  /* !!! FIXME: in 2.1, make these not overlap differently with
    3.30 @@ -98,7 +98,7 @@
    3.31      SDL_ARRAYORDER_BGR,
    3.32      SDL_ARRAYORDER_BGRA,
    3.33      SDL_ARRAYORDER_ABGR
    3.34 -} SDL_ArrayOrderEnum;
    3.35 +} SDL_ArrayOrder;
    3.36  
    3.37  /** Packed component layout. */
    3.38  typedef enum
    3.39 @@ -112,7 +112,7 @@
    3.40      SDL_PACKEDLAYOUT_8888,
    3.41      SDL_PACKEDLAYOUT_2101010,
    3.42      SDL_PACKEDLAYOUT_1010102
    3.43 -} SDL_PackedLayoutEnum;
    3.44 +} SDL_PackedLayout;
    3.45  
    3.46  #define SDL_DEFINE_PIXELFOURCC(A, B, C, D) SDL_FOURCC(A, B, C, D)
    3.47