git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-02-03 22:10:09 +00:00
commit ee3b0529e7
2 changed files with 36 additions and 33 deletions

View file

@ -768,7 +768,7 @@ or the module mode option, <tt>%module(naturalvar=1)</tt>
<p>
<b>Compatibility note:</b> The <tt>%naturalvar</tt> feature was introduced in SWIG-1.3.28, prior to which it was necessary to manually apply the const reference
typemaps, eg <tt>%apply const std::string &amp; { std::string * }</tt>, but this example would also apply the typemaps to methods taking a </tt>std::string</tt> pointer.
typemaps, eg <tt>%apply const std::string &amp; { std::string * }</tt>, but this example would also apply the typemaps to methods taking a <tt>std::string</tt> pointer.
</p>
<p>