SDL_GetPlatform

This commit is contained in:
Ethan Lee 2013-10-27 05:02:20 -04:00
parent 4b61ff485a
commit 1ffb95fa74

View file

@ -177,6 +177,14 @@ namespace SDL2
#endregion #endregion
#region SDL_platform.h
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
[return : MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler), MarshalCookie = LPUtf8StrMarshaler.LeaveAllocated)]
public static extern string SDL_GetPlatform();
#endregion
#region SDL_hints.h #region SDL_hints.h
public const string SDL_HINT_FRAMEBUFFER_ACCELERATION = public const string SDL_HINT_FRAMEBUFFER_ACCELERATION =