From 4949b2e7601998ada5a90d8455517cfcf182d37e Mon Sep 17 00:00:00 2001 From: Corey Minyard Date: Fri, 28 Jan 2022 08:32:04 -0600 Subject: [PATCH] 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 --- Doc/Manual/SWIG.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/Manual/SWIG.html b/Doc/Manual/SWIG.html index 32c1d97b0..aa50df5e4 100644 --- a/Doc/Manual/SWIG.html +++ b/Doc/Manual/SWIG.html @@ -2250,6 +2250,8 @@ the following approach could be taken: %rename("%s") Star::shine; // named method %include "myheader.h" + +%rename("%s") ""; // Undo the %ignore