Bug combining module imports on iOS/cpp
Monkey Forums/Monkey Bug Reports/Bug combining module imports on iOS/cpp
| ||
If you import two native cpp files monkey does not always correctly handle the import. For example Import1 void blah1() { } Import2 void blah2() { } Monkey will turn this into: void blah1(){ }void blah2(){ } And will fail to compile. The trick is to add new lines at start and at bottom, but it would be better if monkey did. Perhaps it could add something like: ' --- start file/path/goes/here.cpp --- 'User code ' --- end file/path/goes/here.cpp --- ? |