some clarification on the renaming/ignoring in the overloaded methods section

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-11-24 22:22:30 +00:00
commit 0cf1c427c1

View file

@ -1745,15 +1745,15 @@ Method spam(int) at example.i:11 used.
</div> </div>
<p> <p>
To fix this, you either need to ignore or rename one of the methods. For example: To fix this, you either need to <a href="SWIG.html#SWIG_rename_ignore">rename or ignore</a> one of the methods. For example:
</p> </p>
<div class="code"> <div class="code">
<pre> <pre>
%rename(spam_short) spam(short); %rename(spam_ushort) spam(unsigned short);
... ...
void spam(int); void spam(int);
void spam(short); // Accessed as spam_short void spam(unsigned short); // Noew renamed to spam_ushort
</pre> </pre>
</div> </div>
@ -1763,10 +1763,10 @@ or
<div class="code"> <div class="code">
<pre> <pre>
%ignore spam(short); %ignore spam(unsigned short);
... ...
void spam(int); void spam(int);
void spam(short); // Ignored void spam(unsigned short); // Ignored
</pre> </pre>
</div> </div>