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
This commit is contained in:
parent
56965adb05
commit
63a6a0e214
1 changed files with 6 additions and 6 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue