Added argument and return type checking for global wrapped functions
parent
a3ee762dac
commit
aef5ae269f
|
@ -416,6 +416,9 @@ void Module::matlab_code(const string& toolboxPath, const string& headerPath) co
|
|||
vector<string> validTypes = GenerateValidTypes(expandedClasses, forward_declarations);
|
||||
|
||||
// Check that all classes have been defined somewhere
|
||||
verifyArguments<GlobalFunction>(validTypes, global_functions);
|
||||
verifyReturnTypes<GlobalFunction>(validTypes, global_functions);
|
||||
|
||||
BOOST_FOREACH(const Class& cls, expandedClasses) {
|
||||
// verify all of the function arguments
|
||||
//TODO:verifyArguments<ArgumentList>(validTypes, cls.constructor.args_list);
|
||||
|
|
Loading…
Reference in New Issue