author | koda |
Fri, 08 Jan 2010 03:52:44 +0000 | |
changeset 2688 | 174c94b8ea72 |
parent 2671 | 7e0f88013fe8 |
permissions | -rw-r--r-- |
2630 | 1 |
#import <UIKit/UIKit.h> |
2 |
||
3 |
const char* get_documents_path() { |
|
4 |
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); |
|
5 |
NSString *documentsDirectory = [paths objectAtIndex: 0]; |
|
2671
7e0f88013fe8
smaller patches, one missing Sky-lowres, IMG_Init and Mix_Init (might require newer libraries), updates to SDL bindings, code cleanup, new compile flags
koda
parents:
2630
diff
changeset
|
6 |
return [documentsDirectory UTF8String]; |
2630 | 7 |
} |