forgot string will be 'char' class and some basic types (bool, int, size_t) that will be 'double'

release/4.3a0
Frank Dellaert 2012-01-10 05:35:12 +00:00
parent 0c03fd010d
commit 33d6934a44
1 changed files with 3 additions and 2 deletions

View File

@ -27,8 +27,9 @@ using namespace wrap;
/* ************************************************************************* */ /* ************************************************************************* */
string Argument::matlabClass() const { string Argument::matlabClass() const {
if (type=="Vector") return string("double"); if (type=="string") return string("char");
if (type=="Matrix") return string("double"); if (type=="bool" || type=="int" || type=="size_t" || type=="Vector" || type=="Matrix")
return string("double");
return type; return type;
} }