Because lol, C# structs

This commit is contained in:
Ethan Lee 2013-04-04 09:57:43 -04:00
parent d17be7fd2a
commit 08c3a16f97

View File

@ -1751,18 +1751,18 @@ namespace SDL2
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
public struct SDL_Surface public struct SDL_Surface
{ {
uint flags; public uint flags;
IntPtr format; // SDL_PixelFormat* public IntPtr format; // SDL_PixelFormat*
int w; public int w;
int h; public int h;
int pitch; public int pitch;
IntPtr pixels; // void* public IntPtr pixels; // void*
IntPtr userdata; // void* public IntPtr userdata; // void*
int locked; public int locked;
IntPtr lock_data; // void* public IntPtr lock_data; // void*
SDL_Rect clip_rect; public SDL_Rect clip_rect;
IntPtr map; // SDL_BlitMap* public IntPtr map; // SDL_BlitMap*
int refcount; public int refcount;
} }
/* TODO: SDL_surface.h: /* TODO: SDL_surface.h: