lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5f7c3f7e26
commit
c611933db3
16 changed files with 911 additions and 14 deletions
17
SWIG/Examples/test-suite/python/li_std_map_runme.py
Normal file
17
SWIG/Examples/test-suite/python/li_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