diff --git a/src/SDL2_mixer.cs b/src/SDL2_mixer.cs index e98c91d..69b128b 100644 --- a/src/SDL2_mixer.cs +++ b/src/SDL2_mixer.cs @@ -646,6 +646,21 @@ namespace SDL2 [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Mix_CloseAudio(); + public static string Mix_GetError() + { + return SDL.SDL_GetError(); + } + + public static void Mix_SetError(string fmtAndArglist) + { + SDL.SDL_SetError(fmtAndArglist); + } + + public static void Mix_ClearError() + { + SDL.SDL_ClearError(); + } + #endregion } }