|
Lines 39-45
Link Here
|
| 39 |
* @return A valid SDL_RWops structure on success, NULL on error. Specifics |
39 |
* @return A valid SDL_RWops structure on success, NULL on error. Specifics |
| 40 |
* of the error can be gleaned from PHYSFS_getLastError(). |
40 |
* of the error can be gleaned from PHYSFS_getLastError(). |
| 41 |
*/ |
41 |
*/ |
| 42 |
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openRead(const char *fname); |
42 |
SDL_RWops *PHYSFSRWOPS_openRead(const char *fname); |
| 43 |
|
43 |
|
| 44 |
/** |
44 |
/** |
| 45 |
* Open a platform-independent filename for writing, and make it accessible |
45 |
* Open a platform-independent filename for writing, and make it accessible |
|
Lines 51-57
Link Here
|
| 51 |
* @return A valid SDL_RWops structure on success, NULL on error. Specifics |
51 |
* @return A valid SDL_RWops structure on success, NULL on error. Specifics |
| 52 |
* of the error can be gleaned from PHYSFS_getLastError(). |
52 |
* of the error can be gleaned from PHYSFS_getLastError(). |
| 53 |
*/ |
53 |
*/ |
| 54 |
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname); |
54 |
SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname); |
| 55 |
|
55 |
|
| 56 |
/** |
56 |
/** |
| 57 |
* Open a platform-independent filename for appending, and make it accessible |
57 |
* Open a platform-independent filename for appending, and make it accessible |
|
Lines 63-69
Link Here
|
| 63 |
* @return A valid SDL_RWops structure on success, NULL on error. Specifics |
63 |
* @return A valid SDL_RWops structure on success, NULL on error. Specifics |
| 64 |
* of the error can be gleaned from PHYSFS_getLastError(). |
64 |
* of the error can be gleaned from PHYSFS_getLastError(). |
| 65 |
*/ |
65 |
*/ |
| 66 |
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname); |
66 |
SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname); |
| 67 |
|
67 |
|
| 68 |
/** |
68 |
/** |
| 69 |
* Make a SDL_RWops from an existing PhysicsFS file handle. You should |
69 |
* Make a SDL_RWops from an existing PhysicsFS file handle. You should |
|
Lines 75-81
Link Here
|
| 75 |
* @return A valid SDL_RWops structure on success, NULL on error. Specifics |
75 |
* @return A valid SDL_RWops structure on success, NULL on error. Specifics |
| 76 |
* of the error can be gleaned from PHYSFS_getLastError(). |
76 |
* of the error can be gleaned from PHYSFS_getLastError(). |
| 77 |
*/ |
77 |
*/ |
| 78 |
__EXPORT__ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle); |
78 |
SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle); |
| 79 |
|
79 |
|
| 80 |
#ifdef __cplusplus |
80 |
#ifdef __cplusplus |
| 81 |
} |
81 |
} |