Add documentation on the allprotected mode

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-04-22 22:37:48 +00:00
commit 51b9794c3c
3 changed files with 154 additions and 54 deletions

View file

@ -1461,6 +1461,8 @@ wrapper around a pointer.
Although SWIG usually detects the classes to which the fulton transform should
be applied, in some situations it's necessary to override it. That's done with
<tt>%feature("valuewrapper")</tt> and <tt>%feature("novaluewrapper")</tt>:
</p>
<div class="code"><pre>
%feature("novaluewrapper") A;
class A;
@ -1471,7 +1473,6 @@ struct B {
// ....
};
</pre></div>
</p>
<p>
<b>Note:</b> this transformation has no effect on typemaps