Mercurial > sdl-ios-xcode
comparison include/SDL_rwops.h @ 4161:bd91db0b0b5d SDL-1.2
Corrected documentation for SDL_rwops::read()
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 30 Jan 2009 01:40:44 +0000 |
parents | a1b03ba2fcd0 |
children | 4c4113c2162c |
comparison
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 |