comparison include/SDL_error.h @ 5226:2ee8112bfc6b

Added a simple log message API
author Sam Lantinga <slouken@libsdl.org>
date Mon, 07 Feb 2011 16:45:40 -0800
parents ba7492f9e2b8
children b530ef003506
comparison
equal deleted inserted replaced
5225:1fbe1c202501 5226:2ee8112bfc6b
46 46
47 /** 47 /**
48 * \name Internal error functions 48 * \name Internal error functions
49 * 49 *
50 * \internal 50 * \internal
51 * Private error message function - used internally. 51 * Private error reporting function - used internally.
52 */ 52 */
53 /*@{*/ 53 /*@{*/
54 #define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM) 54 #define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM)
55 #define SDL_Unsupported() SDL_Error(SDL_UNSUPPORTED) 55 #define SDL_Unsupported() SDL_Error(SDL_UNSUPPORTED)
56 typedef enum 56 typedef enum