include/SDL_rwops.h
branchSDL-1.2
changeset 4161 bd91db0b0b5d
parent 4159 a1b03ba2fcd0
child 4217 4c4113c2162c
equal deleted inserted replaced
4160:ef781fa00223 4161:bd91db0b0b5d
    43 		SEEK_SET, SEEK_CUR, SEEK_END
    43 		SEEK_SET, SEEK_CUR, SEEK_END
    44 	   Returns the final offset in the data source.
    44 	   Returns the final offset in the data source.
    45 	 */
    45 	 */
    46 	int (SDLCALL *seek)(struct SDL_RWops *context, int offset, int whence);
    46 	int (SDLCALL *seek)(struct SDL_RWops *context, int offset, int whence);
    47 
    47 
    48 	/* Read up to 'num' objects each of size 'objsize' from the data
    48 	/* Read up to 'maxnum' objects each of size 'size' from the data
    49 	   source to the area pointed at by 'ptr'.
    49 	   source to the area pointed at by 'ptr'.
    50 	   Returns the number of objects read, or -1 if the read failed.
    50 	   Returns the number of objects read, or -1 if the read failed.
    51 	 */
    51 	 */
    52 	int (SDLCALL *read)(struct SDL_RWops *context, void *ptr, int size, int maxnum);
    52 	int (SDLCALL *read)(struct SDL_RWops *context, void *ptr, int size, int maxnum);
    53 
    53