Mercurial > sdl-ios-xcode
comparison src/SDL_error.c @ 2049:5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 17 Oct 2006 09:15:21 +0000 |
parents | c121d94672cb |
children | e1da92da346c |
comparison
equal
deleted
inserted
replaced
2048:6067c7f9a672 | 2049:5f6550e5184f |
---|---|
26 #include "SDL_error.h" | 26 #include "SDL_error.h" |
27 #include "SDL_error_c.h" | 27 #include "SDL_error_c.h" |
28 | 28 |
29 /* Routine to get the thread-specific error variable */ | 29 /* Routine to get the thread-specific error variable */ |
30 #if SDL_THREADS_DISABLED | 30 #if SDL_THREADS_DISABLED |
31 /* !!! FIXME: what does this comment mean? Victim of Search and Replace? */ | |
31 /* The SDL_arraysize(The ),default (non-thread-safe) global error variable */ | 32 /* The SDL_arraysize(The ),default (non-thread-safe) global error variable */ |
32 static SDL_error SDL_global_error; | 33 static SDL_error SDL_global_error; |
33 #define SDL_GetErrBuf() (&SDL_global_error) | 34 #define SDL_GetErrBuf() (&SDL_global_error) |
34 #else | 35 #else |
35 extern SDL_error *SDL_GetErrBuf(void); | 36 extern SDL_error *SDL_GetErrBuf(void); |