add jstring.i for ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e06a5d0ccd
commit
dc915a44a1
4 changed files with 54 additions and 6 deletions
|
|
@ -1,5 +1,6 @@
|
|||
%module example
|
||||
%include <gcj/cni.i>
|
||||
%include <jstring.i>
|
||||
|
||||
%{
|
||||
#include "Example.h"
|
||||
|
|
|
|||
|
|
@ -12,5 +12,7 @@ e3 = e1.Add(e1,e2)
|
|||
print e3.mPublicInt,"\n"
|
||||
|
||||
|
||||
print e1.Add("1","2"),"\n"
|
||||
|
||||
Example.JvDetachCurrentThread()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue