fix extra ;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bc97fda47f
commit
22248344a6
5 changed files with 7 additions and 8 deletions
|
|
@ -31,8 +31,8 @@ eTest1,
|
|||
eTest2
|
||||
};
|
||||
|
||||
void TakeETest(ETest test) {};
|
||||
ETest MakeETest(void) {return eTest1;};
|
||||
void TakeETest(ETest test) {}
|
||||
ETest MakeETest(void) {return eTest1;}
|
||||
|
||||
template<class T> class CTempl
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
extern int bar(int blah = 1);
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
extern "C" int foobar(int i) {
|
||||
return i;
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@
|
|||
}
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
%}
|
||||
|
||||
%template(D_i) D<int>;
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ namespace toto {
|
|||
template<class T>
|
||||
static double bar(int i) {
|
||||
return 1.0;
|
||||
};
|
||||
}
|
||||
|
||||
private:
|
||||
int i;
|
||||
|
|
|
|||
|
|
@ -3,15 +3,14 @@
|
|||
%inline {
|
||||
namespace Alpha {
|
||||
typedef int Integer;
|
||||
};
|
||||
}
|
||||
|
||||
namespace Beta {
|
||||
template <typename Value>
|
||||
struct Alpha {
|
||||
Value x;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue