include/SDL_endian.h
changeset 337 9154ec9ca3d2
parent 297 f6ffac90895c
child 769 b8d311d90021
     1.1 --- a/include/SDL_endian.h	Wed Apr 10 17:12:32 2002 +0000
     1.2 +++ b/include/SDL_endian.h	Thu Apr 11 14:35:16 2002 +0000
     1.3 @@ -124,20 +124,20 @@
     1.4  #endif
     1.5  
     1.6  /* Read an item of the specified endianness and return in native format */
     1.7 -extern DECLSPEC Uint16 SDL_ReadLE16(SDL_RWops *src);
     1.8 -extern DECLSPEC Uint16 SDL_ReadBE16(SDL_RWops *src);
     1.9 -extern DECLSPEC Uint32 SDL_ReadLE32(SDL_RWops *src);
    1.10 -extern DECLSPEC Uint32 SDL_ReadBE32(SDL_RWops *src);
    1.11 -extern DECLSPEC Uint64 SDL_ReadLE64(SDL_RWops *src);
    1.12 -extern DECLSPEC Uint64 SDL_ReadBE64(SDL_RWops *src);
    1.13 +extern DECLSPEC Uint16 SDLCALL SDL_ReadLE16(SDL_RWops *src);
    1.14 +extern DECLSPEC Uint16 SDLCALL SDL_ReadBE16(SDL_RWops *src);
    1.15 +extern DECLSPEC Uint32 SDLCALL SDL_ReadLE32(SDL_RWops *src);
    1.16 +extern DECLSPEC Uint32 SDLCALL SDL_ReadBE32(SDL_RWops *src);
    1.17 +extern DECLSPEC Uint64 SDLCALL SDL_ReadLE64(SDL_RWops *src);
    1.18 +extern DECLSPEC Uint64 SDLCALL SDL_ReadBE64(SDL_RWops *src);
    1.19  
    1.20  /* Write an item of native format to the specified endianness */
    1.21 -extern DECLSPEC int SDL_WriteLE16(SDL_RWops *dst, Uint16 value);
    1.22 -extern DECLSPEC int SDL_WriteBE16(SDL_RWops *dst, Uint16 value);
    1.23 -extern DECLSPEC int SDL_WriteLE32(SDL_RWops *dst, Uint32 value);
    1.24 -extern DECLSPEC int SDL_WriteBE32(SDL_RWops *dst, Uint32 value);
    1.25 -extern DECLSPEC int SDL_WriteLE64(SDL_RWops *dst, Uint64 value);
    1.26 -extern DECLSPEC int SDL_WriteBE64(SDL_RWops *dst, Uint64 value);
    1.27 +extern DECLSPEC int SDLCALL SDL_WriteLE16(SDL_RWops *dst, Uint16 value);
    1.28 +extern DECLSPEC int SDLCALL SDL_WriteBE16(SDL_RWops *dst, Uint16 value);
    1.29 +extern DECLSPEC int SDLCALL SDL_WriteLE32(SDL_RWops *dst, Uint32 value);
    1.30 +extern DECLSPEC int SDLCALL SDL_WriteBE32(SDL_RWops *dst, Uint32 value);
    1.31 +extern DECLSPEC int SDLCALL SDL_WriteLE64(SDL_RWops *dst, Uint64 value);
    1.32 +extern DECLSPEC int SDLCALL SDL_WriteBE64(SDL_RWops *dst, Uint64 value);
    1.33  
    1.34  
    1.35  /* Ends C function definitions when using C++ */