[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:
parent
1d088d7124
commit
bb15c4eccf
3 changed files with 15 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue