Fixed type_name of some std classes.

Remove cmp_id from GC_VALUE.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Gonzalo Garramuno 2007-05-06 12:46:40 +00:00
commit c18feb2af3
4 changed files with 12 additions and 14 deletions

View file

@ -74,7 +74,7 @@ namespace std {
template <> struct traits<std::stack<_Tp, _Sequence > > {
typedef pointer_category category;
static const char* type_name() {
return "std::stack<" #_Tp " >";
return "std::stack<" #_Tp "," #_Sequence " >";
}
};
}
@ -108,7 +108,7 @@ namespace std {
template <> struct traits<std::stack<_Tp*, _Sequence > > {
typedef value_category category;
static const char* type_name() {
return "std::stack<" #_Tp " * >";
return "std::stack<" #_Tp "," #_Sequence " * >";
}
};
}