mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Comment context for declaration changes; remove extern terms
This commit is contained in:
parent
51768e7dd1
commit
8777d5c6c9
1 changed files with 4 additions and 7 deletions
|
@ -44,14 +44,11 @@
|
|||
|
||||
#if 0
|
||||
#include "SDL_image.h"
|
||||
|
||||
extern SDLCALL int SDLCALL IMG_isXPM(SDL_RWops *src);
|
||||
extern SDLCALL SDL_Surface *IMG_LoadXPM_RW(SDL_RWops *src);
|
||||
extern SDLCALL SDL_Surface * SDLCALL IMG_ReadXPMFromArray(const char **xpm);
|
||||
#else
|
||||
extern int IMG_isXPM(SDL_RWops *src);
|
||||
extern SDL_Surface *IMG_LoadXPM_RW(SDL_RWops *src);
|
||||
extern SDL_Surface *IMG_ReadXPMFromArray(const char **xpm);
|
||||
// SDLCALL terms removed from original SDL_image declarations
|
||||
int IMG_isXPM(SDL_RWops *src);
|
||||
SDL_Surface *IMG_LoadXPM_RW(SDL_RWops *src);
|
||||
SDL_Surface *IMG_ReadXPMFromArray(const char **xpm);
|
||||
#define IMG_SetError SDL_SetError
|
||||
#define IMG_GetError SDL_GetError
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue