include/SDL_platform.h
changeset 3319 63d4517fc4ac
parent 3292 245a7d79577c
child 3366 8cd9ed45c020
     1.1 --- a/include/SDL_platform.h	Sat Sep 26 10:22:35 2009 +0000
     1.2 +++ b/include/SDL_platform.h	Sat Sep 26 10:32:14 2009 +0000
     1.3 @@ -123,4 +123,29 @@
     1.4  #define __NINTENDODS__	1
     1.5  #endif
     1.6  
     1.7 +
     1.8 +#include "begin_code.h"
     1.9 +/* Set up for C function definitions, even when using C++ */
    1.10 +#ifdef __cplusplus
    1.11 +/* *INDENT-OFF* */
    1.12 +extern "C" {
    1.13 +/* *INDENT-ON* */
    1.14 +#endif
    1.15 +
    1.16 +/**
    1.17 + * \fn const char *SDL_GetPlatform(void)
    1.18 + * \brief Gets the name of the platform.
    1.19 + */
    1.20 +extern DECLSPEC const char * SDLCALL SDL_GetPlatform (void);
    1.21 +
    1.22 +/* Ends C function definitions when using C++ */
    1.23 +#ifdef __cplusplus
    1.24 +/* *INDENT-OFF* */
    1.25 +}
    1.26 +/* *INDENT-ON* */
    1.27 +#endif
    1.28 +#include "close_code.h"
    1.29 +
    1.30  #endif /* _SDL_platform_h */
    1.31 +
    1.32 +/* vi: set ts=4 sw=4 expandtab: */