VSF Documented
Macros | Typedefs | Enumerations | Functions
SDL_error.h File Reference
#include "../../vsf_sdl2_cfg.h"
#include "SDL_stdinc.h"
#include "begin_code.h"
#include "close_code.h"

Go to the source code of this file.

Macros

#define SDL_Error   VSF_SDL_WRAPPER(SDL_Error)
 
#define SDL_GetError   VSF_SDL_WRAPPER(SDL_GetError)
 
#define SDL_SetError   VSF_SDL_WRAPPER(SDL_SetError)
 
#define SDL_ClearError   VSF_SDL_WRAPPER(SDL_ClearError)
 
#define SDL_OutOfMemory()   SDL_Error(SDL_ENOMEN)
 

Typedefs

typedef enum SDL_errorcode SDL_errorcode
 

Enumerations

enum  SDL_errorcode {
  SDL_ENOMEN ,
  SDL_EFREAD ,
  SDL_EFWRITE ,
  SDL_EFSEEK ,
  SDL_UNSUPPORTED ,
  SDL_LASTERROR
}
 

Functions

int SDL_Error (SDL_errorcode code)
 
int SDL_SetError (const char *fmt,...)
 

Macro Definition Documentation

◆ SDL_Error

#define SDL_Error   VSF_SDL_WRAPPER(SDL_Error)

◆ SDL_GetError

#define SDL_GetError (   void)    VSF_SDL_WRAPPER(SDL_GetError)

◆ SDL_SetError

#define SDL_SetError   VSF_SDL_WRAPPER(SDL_SetError)

◆ SDL_ClearError

void SDL_ClearError   VSF_SDL_WRAPPER(SDL_ClearError)

◆ SDL_OutOfMemory

#define SDL_OutOfMemory ( )    SDL_Error(SDL_ENOMEN)

Typedef Documentation

◆ SDL_errorcode

Enumeration Type Documentation

◆ SDL_errorcode

Enumerator
SDL_ENOMEN 
SDL_EFREAD 
SDL_EFWRITE 
SDL_EFSEEK 
SDL_UNSUPPORTED 
SDL_LASTERROR 

Function Documentation

◆ SDL_Error()

int SDL_Error ( SDL_errorcode  code)
extern

◆ SDL_SetError()

int SDL_SetError ( const char *  fmt,
  ... 
)
extern