Scott Michel director patch, typemap consolidation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b504f37f90
commit
e6ceb122a6
5 changed files with 237 additions and 128 deletions
|
|
@ -96,12 +96,14 @@ public:
|
|||
public boolean disconnectMethodCalled = false;
|
||||
%}
|
||||
|
||||
%typemap(directordisconnect_derived, methodname="disconnect_director") hi::Quux1 {
|
||||
%typemap(directordisconnect, methodname="disconnect_director") hi::Quux1 %{
|
||||
public void $methodname() {
|
||||
swigCMemOwn = false;
|
||||
$jnicall;
|
||||
// add in a flag to check this method is really called
|
||||
disconnectMethodCalled = true;
|
||||
}
|
||||
%}
|
||||
|
||||
%inline %{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue