Add link for const sections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
97f959ddf0
commit
eefaef3bdb
2 changed files with 8 additions and 2 deletions
|
|
@ -797,6 +797,12 @@ In this case, the pointer <tt>e</tt> can change---it's only the value
|
|||
being pointed to that is read-only.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Please note that for const parameters or return types used in a function, SWIG pretty much ignores
|
||||
the fact that these are const, see the section on <a href="SWIGPlus.html#SWIGPlus_const">const-correctness</a>
|
||||
for more information.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>Compatibility Note:</b> One reason for changing SWIG to handle
|
||||
<tt>const</tt> declarations as read-only variables is that there are
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue