summaryrefslogtreecommitdiff
path: root/Examples/test-suite/rename_pcre_encoder.i
diff options
context:
space:
mode:
authorVadim Zeitlin <vz-swig@zeitlins.org>2010-09-11 11:44:26 +0000
committerVadim Zeitlin <vz-swig@zeitlins.org>2010-09-11 11:44:26 +0000
commitf89181d4c8eba9384f904688940c0cb65f62f7d0 (patch)
treec3f6626e134faa424fa357e745ec996d889f7d9b /Examples/test-suite/rename_pcre_encoder.i
parenta26d6188a701ab8d17cca306cbe869a12d22e1c7 (diff)
downloadswig-f89181d4c8eba9384f904688940c0cb65f62f7d0.tar.gz
Fix the rename_pcre_encoder unit test for Python.
Due to a bug in the way %rename() directives without a name currently work, the second %rename in rename_pcre_encoder.i overrides the first one and the function wxDoSomething() is not renamed to DoSomething() any more. Remove the test for this renaming that doesn't work to at least let the rest of the test to pass. Also test that SetXXX() functions from the .i file really are renamed to putXXX() as expected. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/test-suite/rename_pcre_encoder.i')
-rw-r--r--Examples/test-suite/rename_pcre_encoder.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/Examples/test-suite/rename_pcre_encoder.i b/Examples/test-suite/rename_pcre_encoder.i
index 1bee1dca8..c90af164d 100644
--- a/Examples/test-suite/rename_pcre_encoder.i
+++ b/Examples/test-suite/rename_pcre_encoder.i
@@ -9,12 +9,12 @@
%inline %{
struct wxSomeWidget {
- void SetBorderWidth(int);
- void SetSize(int, int);
+ void SetBorderWidth(int) {}
+ void SetSize(int, int) {}
};
struct wxAnotherWidget {
- void wxDoSomething() {}
+ void DoSomething() {}
};
class wxEVTSomeEvent {