|
Size: 1053
Comment: update content (from Sam)
|
Size: 935
Comment: update content (from Sam)
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 6: | Line 6: |
| Use this function to create [[SDL_RWops]] structures from <<Color2(green,an FP (a floating-point)???)>>. | Use this function to create [[SDL_RWops]] structures from a standard I/O file pointer. |
| Line 12: | Line 12: |
| #ifdef HAVE_STDIO_H | |
| Line 16: | Line 15: |
| <<Color2(green, Does the ifdef stay in?)>> | |
| Line 19: | Line 17: |
| ||'''fp'''||^a pointer to a floating-point contained in a file to fill an [[SDL_RWops]] structure with^ ???|| | ||'''fp'''||^a file pointer used to fill an [[SDL_RWops]] structure^ ???|| |
DRAFT |
SDL_RWFromFP
Use this function to create SDL_RWops structures from a standard I/O file pointer.
Contents
Syntax
SDL_RWops* SDL_RWFromFP(FILE* fp,
SDL_bool autoclose)
Function Parameters
fp |
a file pointer used to fill an [[SDL_RWops]] structure ??? |
autoclose |
SDL_TRUE to autoclose or SDL_FALSE to leave the structure open ??? |
Return Value
A pointer to the SDL_RWops structure that is created.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Related Functions
SDL_RWFromFile ???
SDL_RWFromMem ???
