Rebasing...

release/4.3a0
Alex Cunningham 2013-06-20 17:08:27 +00:00
parent 32066ca358
commit 90246a4dab
2 changed files with 7 additions and 0 deletions

View File

@ -507,6 +507,10 @@ void Module::matlab_code(const string& toolboxPath, const string& headerPath) co
}
// Generate includes while avoiding redundant includes
if (hasSerialiable) {
wrapperFile.oss << "#include <boost/archive/text_iarchive.hpp>\n";
wrapperFile.oss << "#include <boost/archive/text_oarchive.hpp>\n\n";
}
generateIncludes(wrapperFile);
// create typedef classes - we put this at the top of the wrap file so that collectors and method arguments can use these typedefs

View File

@ -6,6 +6,9 @@
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <folder/path/to/Test.h>