Mercurial > sdl-ios-xcode
view test/automated/rwops/TestSupportRWops_Generic.c @ 4908:9b9dc9fc7df2
Fix Xcode project to turns the SDL_gesture.h and SDL_touch.h into public includes (since they are included when using the SDL/SDL.h file)
--
user: Andreas Schiffler <aschiffler@ferzkopp.net>
branch 'default'
changed Xcode/SDL/SDL.xcodeproj/project.pbxproj
author | Andreas Schiffler <aschiffler@ferzkopp.net> |
---|---|
date | Tue, 16 Nov 2010 07:44:47 -0800 |
parents | 27ab20a36eba |
children | e8916fe9cfc8 |
line wrap: on
line source
/* Generic implementation for file opening routines. * Customizations for specific platforms should go in alternative files. */ // quiet win32 compiler warnings #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include "SDL.h" const char* RWOPS_READ = "rwops/read"; const char* RWOPS_WRITE = "rwops/write"; FILE* TestSupportRWops_OpenFPFromReadDir(const char *file, const char *mode) { return fopen(file, mode); } FILE* TestSupportRWops_OpenFPFromWriteDir(const char *file, const char *mode) { return fopen(file, mode); } SDL_RWops* TestSupportRWops_OpenRWopsFromReadDir(const char *file, const char *mode) { return SDL_RWFromFile(file, mode); } SDL_RWops* TestSupportRWops_OpenRWopsFromWriteDir(const char *file, const char *mode) { return SDL_RWFromFile(file, mode); }