a bit more on pgcpp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ea0a1a7f06
commit
b5b11ce6f4
1 changed files with 5 additions and 1 deletions
|
|
@ -2857,7 +2857,11 @@ and therefore there is no possibility of premature garbage collection. In practi
|
|||
|
||||
<p>
|
||||
The premature garbage collection prevention parameter for proxy classes is generated by default whenever proxy classes are passed by value, reference or with a pointer.
|
||||
The additional parameters do impose a slight performance overhead and the parameter generation can be suppressed globally with the <tt>-nopgcpp</tt> commandline option.
|
||||
The implementation for this extra parameter generation requires the "jtype" typemap to contain <tt>long</tt> and the "jstype" typemap to contain the name of a proxy class.
|
||||
<p>
|
||||
|
||||
<p>
|
||||
The additional parameter does impose a slight performance overhead and the parameter generation can be suppressed globally with the <tt>-nopgcpp</tt> commandline option.
|
||||
More selective suppression is possible with the 'nopgcpp' attribute in the "jtype" <a href="#java_typemaps">Java typemap</a>.
|
||||
The attribute is a flag and so should be set to "1" to enable the suppression, or it can be omitted or set to "0" to disable.
|
||||
For example:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue