/Users/hercules/trunk/SDL/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.

Defines

#define SDL_OutOfMemory()   SDL_Error(SDL_ENOMEM)
#define SDL_Unsupported()   SDL_Error(SDL_UNSUPPORTED)

Enumerations

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

Functions

DECLSPEC void SDLCALL SDL_SetError (const char *fmt,...)
DECLSPEC char *SDLCALL SDL_GetError (void)
DECLSPEC void SDLCALL SDL_ClearError (void)
DECLSPEC void SDLCALL SDL_Error (SDL_errorcode code)


Detailed Description

Simple error message routines for SDL

Generated on Mon Sep 21 21:32:25 2009 for Simple DirectMedia Layer by  doxygen 1.5.8