Mercurial > sdl-ios-xcode
comparison include/SDL_platform.h @ 3319:63d4517fc4ac
Fixed bug #777
Implemented SDL_GetPlatform()
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 26 Sep 2009 10:32:14 +0000 |
parents | 245a7d79577c |
children | 8cd9ed45c020 |
comparison
equal
deleted
inserted
replaced
3318:f085091f74cd | 3319:63d4517fc4ac |
---|---|
121 #if defined(__NDS__) | 121 #if defined(__NDS__) |
122 #undef __NINTENDODS__ | 122 #undef __NINTENDODS__ |
123 #define __NINTENDODS__ 1 | 123 #define __NINTENDODS__ 1 |
124 #endif | 124 #endif |
125 | 125 |
126 | |
127 #include "begin_code.h" | |
128 /* Set up for C function definitions, even when using C++ */ | |
129 #ifdef __cplusplus | |
130 /* *INDENT-OFF* */ | |
131 extern "C" { | |
132 /* *INDENT-ON* */ | |
133 #endif | |
134 | |
135 /** | |
136 * \fn const char *SDL_GetPlatform(void) | |
137 * \brief Gets the name of the platform. | |
138 */ | |
139 extern DECLSPEC const char * SDLCALL SDL_GetPlatform (void); | |
140 | |
141 /* Ends C function definitions when using C++ */ | |
142 #ifdef __cplusplus | |
143 /* *INDENT-OFF* */ | |
144 } | |
145 /* *INDENT-ON* */ | |
146 #endif | |
147 #include "close_code.h" | |
148 | |
126 #endif /* _SDL_platform_h */ | 149 #endif /* _SDL_platform_h */ |
150 | |
151 /* vi: set ts=4 sw=4 expandtab: */ |