|
⇤ ← Revision 1 as of 2014-09-23 20:07:11
Size: 1536
Comment: Added page using content from header file.
|
← Revision 2 as of 2015-04-10 23:47:45 ⇥
Size: 1524
Comment: typo fix
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 26: | Line 26: |
| Returns the size of the size of the data stream in the [[SDL_RWops]] on success, -1 if unknown or a negative error code on failure; call [[SDL_GetError]]() for more information. | Returns the size of the data stream in the [[SDL_RWops]] on success, -1 if unknown or a negative error code on failure; call [[SDL_GetError]]() for more information. |
DRAFT |
SDL_RWsize
Use this macro to get the size of the data stream in an SDL_RWops.
Syntax
Sint64 SDL_RWsize(SDL_RWops* context)
Function Parameters
context |
the SDL_RWops to get the size of the data stream from |
Return Value
Returns the size of the data stream in the SDL_RWops on success, -1 if unknown or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Version
This function is available since SDL 2.0.0.
