generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-22 06:32:49 +00:00
commit 4e6bc30270
7 changed files with 121 additions and 120 deletions

View file

@ -6123,8 +6123,8 @@ The following interface file code should be placed before SWIG parses the above
%module example
// Do not generate the default proxy constructor or destructor
%nodefault Butler;
%nodefaultdestructor Butler;
%nodefaultctor Butler;
%nodefaultdtor Butler;
// Add in pure Java code proxy constructor
%typemap(javacode) Butler %{
@ -6161,9 +6161,10 @@ The <tt>swigCMemOwn</tt> remains unchanged (at false), so that the proxy does no
</p>
<p>
Note: prior to 1.3.28, the %nodefault directive disabled the default
constructor and destructor at the same time. Now it is required to explicitly use
%nodefault and %nodefaultdestructor to achieve the same result.
Note: The old %nodefault directive disabled the default constructor
and destructor at the same time. This is unsafe in most of the cases,
and you can use the explicit %nodefaultctor and %nodefaultdtor
directives to achieve the same result.
</p>
<p>