/Users/hercules/trunk/SDL-1.2/include/SDL_error.h File Reference

#include "SDL_stdinc.h"
#include "begin_code.h"
#include "close_code.h"

Go to the source code of this file.

Functions

Public functions
DECLSPEC void SDLCALL SDL_SetError (const char *fmt,...)
DECLSPEC char *SDLCALL SDL_GetError (void)
DECLSPEC void SDLCALL SDL_ClearError (void)

Private functions

#define SDL_OutOfMemory()   SDL_Error(SDL_ENOMEM)
#define SDL_Unsupported()   SDL_Error(SDL_UNSUPPORTED)
enum  SDL_errorcode {
  SDL_ENOMEM, SDL_EFREAD, SDL_EFWRITE, SDL_EFSEEK,
  SDL_UNSUPPORTED, SDL_LASTERROR
}
DECLSPEC void SDLCALL SDL_Error (SDL_errorcode code)


Detailed Description

Simple error message routines for SDL

Generated on Mon Sep 21 21:29:50 2009 for Simple DirectMedia Layer by  doxygen 1.5.8