Fix comments about version Tcl bug fixed in
This commit is contained in:
parent
a5315e1159
commit
1d088d7124
2 changed files with 2 additions and 2 deletions
|
|
@ -141,7 +141,7 @@ std::vector<std::string> RevStringVec (const std::vector<std::string> &In)
|
||||||
}
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
// regression test for Tcl typecheck bug with empty list fixed in 4.2.0
|
// regression test for Tcl typecheck bug with empty list fixed in 4.1.0
|
||||||
%inline %{
|
%inline %{
|
||||||
int sum(const std::vector<int> &v) {
|
int sum(const std::vector<int> &v) {
|
||||||
return std::accumulate(v.begin(),v.end(),0);
|
return std::accumulate(v.begin(),v.end(),0);
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@ if [ catch { load ./li_std_vector[info sharedlibextension] li_std_vector} err_ms
|
||||||
puts stderr "Could not load shared object:\n$err_msg"
|
puts stderr "Could not load shared object:\n$err_msg"
|
||||||
}
|
}
|
||||||
|
|
||||||
# # Regression test for bug fixed in SWIG 4.2.0.
|
# Regression test for bug fixed in SWIG 4.1.0.
|
||||||
if {[sum []] != 0} { error "bad vector sum" }
|
if {[sum []] != 0} { error "bad vector sum" }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue