Add an example for unignoring everything

In the example for ignoring everything, it didn't show how to undo the
ignore all, and the obvious '%rename("") ""' didnt work.
'"%rename("%s") ""' is the right way to do that, so add it to the
example.

Fixes #2173
This commit is contained in:
Corey Minyard 2022-01-28 08:32:04 -06:00 committed by Olly Betts
commit 4949b2e760

View file

@ -2250,6 +2250,8 @@ the following approach could be taken:
%rename("%s") Star::shine; // named method
%include "myheader.h"
%rename("%s") ""; // Undo the %ignore
</pre>
</div>