From 33d6934a44d4f13eb1f030ae135821741e8f8183 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Tue, 10 Jan 2012 05:35:12 +0000 Subject: [PATCH] forgot string will be 'char' class and some basic types (bool, int, size_t) that will be 'double' --- wrap/Argument.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wrap/Argument.cpp b/wrap/Argument.cpp index 062b7b120..9e2065494 100644 --- a/wrap/Argument.cpp +++ b/wrap/Argument.cpp @@ -27,8 +27,9 @@ using namespace wrap; /* ************************************************************************* */ string Argument::matlabClass() const { - if (type=="Vector") return string("double"); - if (type=="Matrix") return string("double"); + if (type=="string") return string("char"); + if (type=="bool" || type=="int" || type=="size_t" || type=="Vector" || type=="Matrix") + return string("double"); return type; }