include/SDL_rwops.h
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
     1.1 --- a/include/SDL_rwops.h	Mon May 29 03:53:21 2006 +0000
     1.2 +++ b/include/SDL_rwops.h	Mon May 29 04:04:35 2006 +0000
     1.3 @@ -102,19 +102,19 @@
     1.4  
     1.5  /* Functions to create SDL_RWops structures from various data sources */
     1.6  
     1.7 -extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFile (const char *file,
     1.8 -                                                   const char *mode);
     1.9 +extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFile(const char *file,
    1.10 +                                                  const char *mode);
    1.11  
    1.12  #ifdef HAVE_STDIO_H
    1.13 -extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP (FILE * fp, int autoclose);
    1.14 +extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(FILE * fp, int autoclose);
    1.15  #endif
    1.16  
    1.17 -extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromMem (void *mem, int size);
    1.18 -extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromConstMem (const void *mem,
    1.19 -                                                       int size);
    1.20 +extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromMem(void *mem, int size);
    1.21 +extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromConstMem(const void *mem,
    1.22 +                                                      int size);
    1.23  
    1.24 -extern DECLSPEC SDL_RWops *SDLCALL SDL_AllocRW (void);
    1.25 -extern DECLSPEC void SDLCALL SDL_FreeRW (SDL_RWops * area);
    1.26 +extern DECLSPEC SDL_RWops *SDLCALL SDL_AllocRW(void);
    1.27 +extern DECLSPEC void SDLCALL SDL_FreeRW(SDL_RWops * area);
    1.28  
    1.29  #define RW_SEEK_SET	0       /* Seek from the beginning of data */
    1.30  #define RW_SEEK_CUR	1       /* Seek relative to current read point */
    1.31 @@ -129,20 +129,20 @@
    1.32  
    1.33  
    1.34  /* Read an item of the specified endianness and return in native format */
    1.35 -extern DECLSPEC Uint16 SDLCALL SDL_ReadLE16 (SDL_RWops * src);
    1.36 -extern DECLSPEC Uint16 SDLCALL SDL_ReadBE16 (SDL_RWops * src);
    1.37 -extern DECLSPEC Uint32 SDLCALL SDL_ReadLE32 (SDL_RWops * src);
    1.38 -extern DECLSPEC Uint32 SDLCALL SDL_ReadBE32 (SDL_RWops * src);
    1.39 -extern DECLSPEC Uint64 SDLCALL SDL_ReadLE64 (SDL_RWops * src);
    1.40 -extern DECLSPEC Uint64 SDLCALL SDL_ReadBE64 (SDL_RWops * src);
    1.41 +extern DECLSPEC Uint16 SDLCALL SDL_ReadLE16(SDL_RWops * src);
    1.42 +extern DECLSPEC Uint16 SDLCALL SDL_ReadBE16(SDL_RWops * src);
    1.43 +extern DECLSPEC Uint32 SDLCALL SDL_ReadLE32(SDL_RWops * src);
    1.44 +extern DECLSPEC Uint32 SDLCALL SDL_ReadBE32(SDL_RWops * src);
    1.45 +extern DECLSPEC Uint64 SDLCALL SDL_ReadLE64(SDL_RWops * src);
    1.46 +extern DECLSPEC Uint64 SDLCALL SDL_ReadBE64(SDL_RWops * src);
    1.47  
    1.48  /* Write an item of native format to the specified endianness */
    1.49 -extern DECLSPEC int SDLCALL SDL_WriteLE16 (SDL_RWops * dst, Uint16 value);
    1.50 -extern DECLSPEC int SDLCALL SDL_WriteBE16 (SDL_RWops * dst, Uint16 value);
    1.51 -extern DECLSPEC int SDLCALL SDL_WriteLE32 (SDL_RWops * dst, Uint32 value);
    1.52 -extern DECLSPEC int SDLCALL SDL_WriteBE32 (SDL_RWops * dst, Uint32 value);
    1.53 -extern DECLSPEC int SDLCALL SDL_WriteLE64 (SDL_RWops * dst, Uint64 value);
    1.54 -extern DECLSPEC int SDLCALL SDL_WriteBE64 (SDL_RWops * dst, Uint64 value);
    1.55 +extern DECLSPEC int SDLCALL SDL_WriteLE16(SDL_RWops * dst, Uint16 value);
    1.56 +extern DECLSPEC int SDLCALL SDL_WriteBE16(SDL_RWops * dst, Uint16 value);
    1.57 +extern DECLSPEC int SDLCALL SDL_WriteLE32(SDL_RWops * dst, Uint32 value);
    1.58 +extern DECLSPEC int SDLCALL SDL_WriteBE32(SDL_RWops * dst, Uint32 value);
    1.59 +extern DECLSPEC int SDLCALL SDL_WriteLE64(SDL_RWops * dst, Uint64 value);
    1.60 +extern DECLSPEC int SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value);
    1.61  
    1.62  
    1.63  /* Ends C function definitions when using C++ */