ios: fix warning from the recent CustomBuiltinImporter
This commit is contained in:
parent
e58e114420
commit
c96e9f72f2
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <dlfcn.h>
|
||||
|
||||
void export_orientation();
|
||||
void custom_builtin_importer();
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
int ret = 0;
|
||||
|
@ -119,6 +120,6 @@ void load_custom_builtin_importer() {
|
|||
" mod = imp.load_dynamic(f, f)\n" \
|
||||
" return mod\n" \
|
||||
" return mod\n" \
|
||||
"sys.meta_path.append(RewriteImporter())";
|
||||
"sys.meta_path.append(CustomBuiltinImporter())";
|
||||
PyRun_SimpleString(custom_builtin_importer);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue