From 6a2149398e858e69b0e003442cb51e94707dd05f Mon Sep 17 00:00:00 2001 From: David Gow Date: Sun, 7 Apr 2013 17:23:21 +0800 Subject: [PATCH] Made some struct members public --- src/SDL2.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index 8bd2bf0..f4d5790 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -3109,10 +3109,10 @@ namespace SDL2 [StructLayout(LayoutKind.Sequential)] public struct SDL_Keysym { - SDL_Scancode scancode; - SDL_Keycode sym; - SDL_Keymod mod; /* UInt16 */ - UInt32 unicode; /* Deprecated */ + public SDL_Scancode scancode; + public SDL_Keycode sym; + public SDL_Keymod mod; /* UInt16 */ + public UInt32 unicode; /* Deprecated */ } /* Get the window which has kbd focus */ @@ -3418,8 +3418,8 @@ namespace SDL2 [StructLayout(LayoutKind.Sequential)] public struct SDL_HapticDirection { - byte type; - int dir; + public byte type; + public int dir; } [StructLayout(LayoutKind.Sequential)]