fix extra ;

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-19 04:49:10 +00:00
commit 719108bbc5
5 changed files with 7 additions and 8 deletions

View file

@ -31,8 +31,8 @@ eTest1,
eTest2 eTest2
}; };
void TakeETest(ETest test) {}; void TakeETest(ETest test) {}
ETest MakeETest(void) {return eTest1;}; ETest MakeETest(void) {return eTest1;}
template<class T> class CTempl template<class T> class CTempl
{ {

View file

@ -5,7 +5,7 @@
extern int bar(int blah = 1); extern int bar(int blah = 1);
}; }
extern "C" int foobar(int i) { extern "C" int foobar(int i) {
return i; return i;

View file

@ -153,7 +153,7 @@
} }
}; }
%} %}
%template(D_i) D<int>; %template(D_i) D<int>;

View file

@ -22,7 +22,7 @@ namespace toto {
template<class T> template<class T>
static double bar(int i) { static double bar(int i) {
return 1.0; return 1.0;
}; }
private: private:
int i; int i;

View file

@ -3,15 +3,14 @@
%inline { %inline {
namespace Alpha { namespace Alpha {
typedef int Integer; typedef int Integer;
}; }
namespace Beta { namespace Beta {
template <typename Value> template <typename Value>
struct Alpha { struct Alpha {
Value x; Value x;
}; };
}; }
} }