Commit 10fcf368 authored by Ryan C. Gordon's avatar Ryan C. Gordon

Corrected documentation for SDL_rwops::read()

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403515
parent c2c1b456
...@@ -45,7 +45,7 @@ typedef struct SDL_RWops { ...@@ -45,7 +45,7 @@ typedef struct SDL_RWops {
*/ */
int (SDLCALL *seek)(struct SDL_RWops *context, int offset, int whence); int (SDLCALL *seek)(struct SDL_RWops *context, int offset, int whence);
/* Read up to 'num' objects each of size 'objsize' from the data /* Read up to 'maxnum' objects each of size 'size' from the data
source to the area pointed at by 'ptr'. source to the area pointed at by 'ptr'.
Returns the number of objects read, or -1 if the read failed. Returns the number of objects read, or -1 if the read failed.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment