diff --git a/wrap/Argument.cpp b/wrap/Argument.cpp index 1610f98aa..329f0a643 100644 --- a/wrap/Argument.cpp +++ b/wrap/Argument.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include "Argument.h" @@ -70,8 +71,17 @@ string ArgumentList::types() const { /* ************************************************************************* */ string ArgumentList::signature() const { string str; + BOOST_FOREACH(Argument arg, *this) - str += arg.type[0]; + { + BOOST_FOREACH(char ch, arg.type) + if(isupper(ch)) + str += ch; + + if(str.length() == 0) + str += arg.type[0]; + } + return str; }