add swig::PyItem and all the helper code

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-11-03 14:24:36 +00:00
commit 40a65ea681
7 changed files with 206 additions and 6 deletions

View file

@ -82,3 +82,15 @@ if m.value() != "c":
s = pyset()
s.insert((1,2))
s.insert(1)
s.insert("hello")
sum = ()
for i in s:
sum += (i,)
if sum != (1, 'hello', (1, 2)):
raise RuntimeError