include/SDL_error.h
changeset 6808 3ad413bd1cd6
parent 6138 4c64952a58fb
child 6811 60d95fcfaf3c
     1.1 --- a/include/SDL_error.h	Thu Jan 10 23:26:49 2013 -0800
     1.2 +++ b/include/SDL_error.h	Fri Jan 11 20:36:39 2013 -0800
     1.3 @@ -52,6 +52,7 @@
     1.4  /*@{*/
     1.5  #define SDL_OutOfMemory()	SDL_Error(SDL_ENOMEM)
     1.6  #define SDL_Unsupported()	SDL_Error(SDL_UNSUPPORTED)
     1.7 +#define SDL_InvalidParamError()	SDL_Error(SDL_INVALIDPARAM)
     1.8  typedef enum
     1.9  {
    1.10      SDL_ENOMEM,
    1.11 @@ -59,6 +60,7 @@
    1.12      SDL_EFWRITE,
    1.13      SDL_EFSEEK,
    1.14      SDL_UNSUPPORTED,
    1.15 +    SDL_INVALIDPARAM,
    1.16      SDL_LASTERROR
    1.17  } SDL_errorcode;
    1.18  extern DECLSPEC void SDLCALL SDL_Error(SDL_errorcode code);