comparison src/SDL_error.c @ 4627:3b5f4b3a69e1

Documentation updates
author Sam Lantinga <slouken@libsdl.org>
date Thu, 29 Jul 2010 20:24:05 -0700
parents 844b5ef4b149
children ba7492f9e2b8
comparison
equal deleted inserted replaced
4626:2cfd55c58cd9 4627:3b5f4b3a69e1
28 28
29 /*#define DEBUG_ERROR*/ 29 /*#define DEBUG_ERROR*/
30 30
31 /* Routine to get the thread-specific error variable */ 31 /* Routine to get the thread-specific error variable */
32 #if SDL_THREADS_DISABLED 32 #if SDL_THREADS_DISABLED
33 /* !!! FIXME: what does this comment mean? Victim of Search and Replace? */ 33 /* The default (non-thread-safe) global error variable */
34 /* The SDL_arraysize(The ),default (non-thread-safe) global error variable */
35 static SDL_error SDL_global_error; 34 static SDL_error SDL_global_error;
36 #define SDL_GetErrBuf() (&SDL_global_error) 35 #define SDL_GetErrBuf() (&SDL_global_error)
37 #else 36 #else
38 extern SDL_error *SDL_GetErrBuf(void); 37 extern SDL_error *SDL_GetErrBuf(void);
39 #endif /* SDL_THREADS_DISABLED */ 38 #endif /* SDL_THREADS_DISABLED */