comparison include/SDL_rwops.h @ 4026:255b0469ca83 SDL-1.2

Added read-ahead support for Win32 file IO
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Jul 2007 04:01:46 +0000
parents 2eb75f8a32ca
children a1b03ba2fcd0
comparison
equal deleted inserted replaced
4025:3ee8c808638b 4026:255b0469ca83
60 /* Close and free an allocated SDL_FSops structure */ 60 /* Close and free an allocated SDL_FSops structure */
61 int (SDLCALL *close)(struct SDL_RWops *context); 61 int (SDLCALL *close)(struct SDL_RWops *context);
62 62
63 Uint32 type; 63 Uint32 type;
64 union { 64 union {
65 #ifdef __WIN32__ 65 #if defined(__WIN32__) && !defined(__SYMBIAN32__)
66 struct { 66 struct {
67 int append; 67 int append;
68 void* h; 68 void *h;
69 struct {
70 void *data;
71 int size;
72 int left;
73 } buffer;
69 } win32io; 74 } win32io;
70 #endif 75 #endif
71 #ifdef HAVE_STDIO_H 76 #ifdef HAVE_STDIO_H
72 struct { 77 struct {
73 int autoclose; 78 int autoclose;