Skip to content

Commit

Permalink
Fix symbol name clash under windows in testcase
Browse files Browse the repository at this point in the history
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
  • Loading branch information
wsfulton committed Apr 19, 2012
1 parent 56965ad commit 63a6a0e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Examples/test-suite/typemap_various.i
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ void foo2(Foo<short> f, const Foo<short>& 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; }
Expand Down

0 comments on commit 63a6a0e

Please sign in to comment.