Mercurial > sdl-ios-xcode
comparison test/automated/rwops/TestSupportRWops.h @ 4451:033c455bbe99
Refactored automated rwops tests so read and write directories can be more easily customized.
The refactored tests were written in recognition that Mac and iPhone current working directories are usually not going to work. Resource directories are in bundles and write directories are restricted to certain areas. In theory, other platforms may have this problem too, hence the refactoring.
Also updated the Xcode iPhone project to use 3.2 as the Base SDK, but 3.1 as the Deployment SDK (for iPhone/iPad compatibility.)
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Sun, 09 May 2010 06:58:30 -0700 |
parents | test/automated/rwops/Test_rwopsbundlesupport.h@947201caa46e |
children |
comparison
equal
deleted
inserted
replaced
4450:abd88bbaea2a | 4451:033c455bbe99 |
---|---|
1 | |
2 #include <stdio.h> | |
3 #include "SDL.h" | |
4 | |
5 #ifndef TestSupportRWops_h | |
6 #define TestSupportRWops_h | |
7 | |
8 FILE* TestSupportRWops_OpenFPFromReadDir(const char *file, const char *mode); | |
9 FILE* TestSupportRWops_OpenFPFromWriteDir(const char *file, const char *mode); | |
10 SDL_RWops* TestSupportRWops_OpenRWopsFromReadDir(const char *file, const char *mode); | |
11 SDL_RWops* TestSupportRWops_OpenRWopsFromWriteDir(const char *file, const char *mode); | |
12 | |
13 | |
14 #endif |