Fixed bug [948583]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f1970a552b
commit
d63e8e6fc3
1 changed files with 3 additions and 3 deletions
|
|
@ -167,7 +167,7 @@ namespace std {
|
||||||
for (unsigned int i=0; i<$1.size(); i++) {
|
for (unsigned int i=0; i<$1.size(); i++) {
|
||||||
T* ptr = new T((($1_type &)$1)[i]);
|
T* ptr = new T((($1_type &)$1)[i]);
|
||||||
Tcl_ListObjAppendElement(interp, $result, \
|
Tcl_ListObjAppendElement(interp, $result, \
|
||||||
SWIG_NewPointerObj(ptr,
|
SWIG_NewInstanceObj(ptr,
|
||||||
$descriptor(T *),
|
$descriptor(T *),
|
||||||
0));
|
0));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue