SDL_RWops *PHYSFSRWOPS_openAppend(const char *const fname) { #ifdef __APPLE__ if (!checkFilePath(fname)) return nullptr; #endif return create_rwops(PhysFs::openAppend(fname)); } /* PHYSFSRWOPS_openAppend */
SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_File *handle) { SDL_RWops *retval = NULL; if (handle == NULL) SDL_SetError("NULL pointer passed to PHYSFSRWOPS_makeRWops()."); else retval = create_rwops(handle); return retval; } /* PHYSFSRWOPS_makeRWops */
SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *const handle) { SDL_RWops *retval = nullptr; if (!handle) SDL_SetError("NULL pointer passed to PHYSFSRWOPS_makeRWops()."); else retval = create_rwops(handle); return retval; } /* PHYSFSRWOPS_makeRWops */
SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname) { return create_rwops(PHYSFS_openAppend(fname)); } /* PHYSFSRWOPS_openAppend */
SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname) { return create_rwops(PHYSFS_openWrite(fname)); } /* PHYSFSRWOPS_openWrite */
SDL_RWops *PHYSFSRWOPS_openRead(const char *fname) { return(create_rwops(PHYSFS_openRead(fname))); } /* PHYSFSRWOPS_openRead */