fix extra ;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4b9b7db04b
commit
719108bbc5
5 changed files with 7 additions and 8 deletions
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -153,7 +153,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
};
|
}
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%template(D_i) D<int>;
|
%template(D_i) D<int>;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue