comparison include/SDL_rwops.h @ 3253:5d7ef5970073

Fixed issues building 64-bit Windows binary
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Sep 2009 23:37:35 +0000
parents 99210400e8b9
children d3baf5ac4e37
comparison
equal deleted inserted replaced
3252:d2465e21f103 3253:5d7ef5970073
80 SDL_bool append; 80 SDL_bool append;
81 void *h; 81 void *h;
82 struct 82 struct
83 { 83 {
84 void *data; 84 void *data;
85 int size; 85 size_t size;
86 int left; 86 size_t left;
87 } buffer; 87 } buffer;
88 } win32io; 88 } win32io;
89 #endif 89 #endif
90 #ifdef HAVE_STDIO_H 90 #ifdef HAVE_STDIO_H
91 struct 91 struct
145 extern DECLSPEC Uint32 SDLCALL SDL_ReadBE32(SDL_RWops * src); 145 extern DECLSPEC Uint32 SDLCALL SDL_ReadBE32(SDL_RWops * src);
146 extern DECLSPEC Uint64 SDLCALL SDL_ReadLE64(SDL_RWops * src); 146 extern DECLSPEC Uint64 SDLCALL SDL_ReadLE64(SDL_RWops * src);
147 extern DECLSPEC Uint64 SDLCALL SDL_ReadBE64(SDL_RWops * src); 147 extern DECLSPEC Uint64 SDLCALL SDL_ReadBE64(SDL_RWops * src);
148 148
149 /* Write an item of native format to the specified endianness */ 149 /* Write an item of native format to the specified endianness */
150 extern DECLSPEC int SDLCALL SDL_WriteLE16(SDL_RWops * dst, Uint16 value); 150 extern DECLSPEC size_t SDLCALL SDL_WriteLE16(SDL_RWops * dst, Uint16 value);
151 extern DECLSPEC int SDLCALL SDL_WriteBE16(SDL_RWops * dst, Uint16 value); 151 extern DECLSPEC size_t SDLCALL SDL_WriteBE16(SDL_RWops * dst, Uint16 value);
152 extern DECLSPEC int SDLCALL SDL_WriteLE32(SDL_RWops * dst, Uint32 value); 152 extern DECLSPEC size_t SDLCALL SDL_WriteLE32(SDL_RWops * dst, Uint32 value);
153 extern DECLSPEC int SDLCALL SDL_WriteBE32(SDL_RWops * dst, Uint32 value); 153 extern DECLSPEC size_t SDLCALL SDL_WriteBE32(SDL_RWops * dst, Uint32 value);
154 extern DECLSPEC int SDLCALL SDL_WriteLE64(SDL_RWops * dst, Uint64 value); 154 extern DECLSPEC size_t SDLCALL SDL_WriteLE64(SDL_RWops * dst, Uint64 value);
155 extern DECLSPEC int SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value); 155 extern DECLSPEC size_t SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value);
156 156
157 157
158 /* Ends C function definitions when using C++ */ 158 /* Ends C function definitions when using C++ */
159 #ifdef __cplusplus 159 #ifdef __cplusplus
160 /* *INDENT-OFF* */ 160 /* *INDENT-OFF* */