Added binding to SDL_GetSystemRAM() in SDL_cpuinfo.h

This commit is contained in:
Justin Skiles 2013-10-22 19:28:34 -04:00
parent 1459270321
commit 29372e5fa4

View file

@ -3794,6 +3794,7 @@ namespace SDL2
}
#endregion
#region SDL_keycode.h
public const int SDLK_SCANCODE_MASK = (1 << 30);
@ -5310,5 +5311,16 @@ namespace SDL2
);
#endregion
#region SDL_cpuinfo.h
/// <summary>
/// This function returns the amount of RAM configured in the system, in MB.
/// </summary>
/// <returns></returns>
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern int SDL_GetSystemRAM();
#endregion
}
}