equal
deleted
inserted
replaced
12 #ifdef __cplusplus |
12 #ifdef __cplusplus |
13 extern "C" { |
13 extern "C" { |
14 #endif |
14 #endif |
15 |
15 |
16 /* Put a variable of the form "name=value" into the environment */ |
16 /* Put a variable of the form "name=value" into the environment */ |
17 extern DECLSPEC int SDL_putenv(const char *variable); |
17 extern DECLSPEC int SDLCALL SDL_putenv(const char *variable); |
18 #define putenv(X) SDL_putenv(X) |
18 #define putenv(X) SDL_putenv(X) |
19 |
19 |
20 /* Retrieve a variable named "name" from the environment */ |
20 /* Retrieve a variable named "name" from the environment */ |
21 extern DECLSPEC char *SDL_getenv(const char *name); |
21 extern DECLSPEC char * SDLCALL SDL_getenv(const char *name); |
22 #define getenv(X) SDL_getenv(X) |
22 #define getenv(X) SDL_getenv(X) |
23 |
23 |
24 /* Ends C function definitions when using C++ */ |
24 /* Ends C function definitions when using C++ */ |
25 #ifdef __cplusplus |
25 #ifdef __cplusplus |
26 } |
26 } |