fix compilation warning in main.m
This commit is contained in:
parent
e547ffb97d
commit
cc2051fd0d
1 changed files with 2 additions and 2 deletions
|
@ -94,13 +94,13 @@ void export_orientation() {
|
||||||
result = [result stringByAppendingString:item];
|
result = [result stringByAppendingString:item];
|
||||||
}
|
}
|
||||||
|
|
||||||
putenv([result UTF8String]);
|
putenv((char *)[result UTF8String]);
|
||||||
//NSLog(@"Available orientation: %@", result);
|
//NSLog(@"Available orientation: %@", result);
|
||||||
}
|
}
|
||||||
|
|
||||||
void load_custom_builtin_importer() {
|
void load_custom_builtin_importer() {
|
||||||
static const char *custom_builtin_importer = \
|
static const char *custom_builtin_importer = \
|
||||||
"import sys, imp\n" \
|
"import sys, imp\n" \
|
||||||
"from os.path import exists, join\n" \
|
"from os.path import exists, join\n" \
|
||||||
"class CustomBuiltinImporter(object):\n" \
|
"class CustomBuiltinImporter(object):\n" \
|
||||||
" def find_module(self, fullname, mpath=None):\n" \
|
" def find_module(self, fullname, mpath=None):\n" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue