From 63a6a0e21438cf1b037f778864f19e682d4d70a8 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 19 Apr 2012 07:13:55 +0000 Subject: [PATCH] Fix symbol name clash under windows in testcase git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13005 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/typemap_various.i | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Examples/test-suite/typemap_various.i b/Examples/test-suite/typemap_various.i index 5fc9fbcc2cc..2a1777ea870 100644 --- a/Examples/test-suite/typemap_various.i +++ b/Examples/test-suite/typemap_various.i @@ -58,13 +58,13 @@ void foo2(Foo f, const Foo& ff) {} // Test obscure bug where named typemaps where not being applied when symbol name contained a number %typemap(out) double "_typemap_for_double_no_compile_" -%typemap(out) double ABC::meth "$1 = 0.0;" -%typemap(out) double ABC::m1 "$1 = 0.0;" -%typemap(out) double ABC::_x2 "$1 = 0.0;" -%typemap(out) double ABC::y_ "$1 = 0.0;" -%typemap(out) double ABC::_3 "$1 = 0.0;" +%typemap(out) double ABCD::meth "$1 = 0.0;" +%typemap(out) double ABCD::m1 "$1 = 0.0;" +%typemap(out) double ABCD::_x2 "$1 = 0.0;" +%typemap(out) double ABCD::y_ "$1 = 0.0;" +%typemap(out) double ABCD::_3 "$1 = 0.0;" %inline %{ -struct ABC { +struct ABCD { double meth() { return 0.0; } double m1() { return 0.0; } double _x2() { return 0.0; }