add gcj and java->python initial support

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-30 08:54:56 +00:00
commit e4b8871ae2
13 changed files with 659 additions and 2 deletions

View file

@ -0,0 +1,16 @@
from example import *
JvCreateJavaVM(None)
JvAttachCurrentThread(None, None)
e1 = Example(1)
e2 = Example(2)
print e1.Add(1,2)
print e1.Add(1.0,2.0)
e3 = e1.Add(e1,e2)
print e3.mPublicInt
print e1.Add("1","2")
JvDetachCurrentThread()