new typemap: javaconstruct. This typemap contains the code that goes into the proxy constructor.
The javaconstruct_director typemap is used instead when directors are enabled. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
74cf6ee4c2
commit
2394fc2d86
1 changed files with 9 additions and 0 deletions
|
|
@ -943,6 +943,15 @@
|
|||
}
|
||||
%}
|
||||
|
||||
%typemap(javaconstruct) SWIGTYPE {
|
||||
this($imcall, true);
|
||||
}
|
||||
|
||||
%typemap(javaconstruct_director) SWIGTYPE {
|
||||
this($imcall, true);
|
||||
$moduleJNI.$javaclassname_director_connect(this, swigCPtr);
|
||||
}
|
||||
|
||||
%typemap(javadestruct, methodname="delete") SWIGTYPE {
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue