#line 2563 "/home/travis/build/felix-lang/felix/src/packages/sdl.fdoc"
  
  
  open class SDL_pixels_h
  {
    requires package "sdl2";
  
    typedef struct SDL_Color
    {
      uint8 r;
      uint8 g;
      uint8 b;
      uint8 a;
    } SDL_Color;
  
    typedef struct SDL_Palette
    {
      int ncolors;
      +SDL_Color colors;
      uint32 version;
      int refcount;
    } SDL_Palette;
  
  
    typedef struct SDL_PixelFormat
    {
      uint32 format;
      &SDL_Palette palette;
      uint8 BitsPerPixel;
      uint8 BytesPerPixel;
      uint8 padding1; uint8 padding2;
      uint32 Rmask;
      uint32 Gmask;
      uint32 Bmask;
      uint32 Amask;
      uint8 Rloss;
      uint8 Gloss;
      uint8 Bloss;
      uint8 Aloss;
      uint8 Rshift;
      uint8 Gshift;
      uint8 Bshift;
      uint8 Ashift;
      int refcount;
      next: &SDL_PixelFormat; // should allow NULL
    } SDL_PixelFormat;
  
    fun SDL_MapRGB: &SDL_PixelFormat * uint8 * uint8 * uint8 -> uint32;
    fun SDL_MapRGBA: &SDL_PixelFormat * uint8 * uint8 * uint8 * uint8 -> uint32;
  }