finish the initial jstring support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e7e691deb0
commit
316d801508
3 changed files with 27 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ LIBS = -lm
|
|||
all:: Example.class
|
||||
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
|
||||
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' CXX="gcj" CFLAGS="-fPIC" \
|
||||
CXXSHARED="gcj -fPIC -shared Example.class" PERL5_CCFLAGS='' PERL5_EXP='' perl5_cpp
|
||||
CXXSHARED="gcj -fPIC -shared Example.class -lstdc++ " PERL5_CCFLAGS='' PERL5_EXP='' perl5_cpp
|
||||
|
||||
|
||||
clean::
|
||||
|
|
|
|||
|
|
@ -22,5 +22,8 @@ $e3 = $e1->Add($e1,$e2);
|
|||
print $e3->{mPublicInt},"\n";
|
||||
|
||||
|
||||
$s = $e2->Add("a","b");
|
||||
print $s,"\n";
|
||||
|
||||
|
||||
example::JvDetachCurrentThread()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue