more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
49a09a63fb
commit
b38eae9915
4 changed files with 93 additions and 0 deletions
17
Examples/test-suite/python/lib_std_map_runme.py
Normal file
17
Examples/test-suite/python/lib_std_map_runme.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import lib_std_map
|
||||
|
||||
a1 = lib_std_map.A(3)
|
||||
a2 = lib_std_map.A(7)
|
||||
|
||||
|
||||
if 1:
|
||||
p0 = lib_std_map.pairii(1,2)
|
||||
p1 = lib_std_map.pairA(1,a1.this)
|
||||
m = {}
|
||||
m[1] = a1
|
||||
m[2] = a2
|
||||
|
||||
lib_std_map.p_identa(p1)
|
||||
lib_std_map.m_identa(m)
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue