java specific tests moved to java_director.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
39d934c23d
commit
501acb85c2
2 changed files with 0 additions and 11 deletions
|
|
@ -28,15 +28,6 @@ public:
|
||||||
%}
|
%}
|
||||||
%feature("director");
|
%feature("director");
|
||||||
|
|
||||||
#ifdef SWIGJAVA
|
|
||||||
%typemap(directordisconnect_derived, methodname="disconnect_director") hi::A1 {
|
|
||||||
// Uncomment to see if the call actually happens (it does... :-)
|
|
||||||
// System.out.println("A1 Java object disconnecting from director.");
|
|
||||||
swigCMemOwn = false;
|
|
||||||
$jnicall;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// basic renaming
|
// basic renaming
|
||||||
%rename(rg) A::gg;
|
%rename(rg) A::gg;
|
||||||
%feature("nodirector") hi::A1::gg;
|
%feature("nodirector") hi::A1::gg;
|
||||||
|
|
|
||||||
|
|
@ -34,9 +34,7 @@ public class director_basic_runme {
|
||||||
throw new RuntimeException ( "b.pong()" );
|
throw new RuntimeException ( "b.pong()" );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Test A1's directordisconnect method rename */
|
|
||||||
A1 a1 = new A1(1, false);
|
A1 a1 = new A1(1, false);
|
||||||
|
|
||||||
a1.delete();
|
a1.delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue