[Tcl] Fix Tcl generic input typemap for std::vector

Fixes https://sourceforge.net/p/swig/bugs/1207/
Fixes https://sourceforge.net/p/swig/bugs/1213/
This commit is contained in:
Olly Betts 2022-02-10 09:55:58 +13:00
commit bb15c4eccf
3 changed files with 15 additions and 1 deletions

View file

@ -118,7 +118,7 @@ namespace std {
T* temp;
if(SWIG_ConvertPtr($input, (void **) &v, \
$&1_descriptor, 0) == 0) {
$1_descriptor, 0) == 0) {
$1 = v;
} else {
// It isn't a vector< T > so it should be a list of T's