Add the ability for special variable macros to call other special variable macros. Also added additional diagnostics when using -debug-tmsearch. Add tests for std::vector of shared_ptr.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7b2c6b477a
commit
e2ce97f397
6 changed files with 116 additions and 5 deletions
|
|
@ -18,3 +18,14 @@ check(nd)
|
|||
b = boing(nd)
|
||||
check(b)
|
||||
|
||||
################################
|
||||
|
||||
v = VectorIntHolder()
|
||||
v.push_back(IntHolder(11))
|
||||
v.push_back(IntHolder(22))
|
||||
v.push_back(IntHolder(33))
|
||||
|
||||
sum = sum(v)
|
||||
if sum != 66:
|
||||
raise "sum is wrong"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue