fix VC7.1 compilation problem

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-03-01 00:00:19 +00:00
commit ad5280f2e2
2 changed files with 10 additions and 6 deletions

View file

@ -181,7 +181,10 @@ namespace ns1 {
typedef void (*TFunc2)(CTemplate<CFoo> arg); // OK
typedef void (*TFunc3)(CTemplate<CFoo>* arg); // OK
int foo(TFunc1 a, TFunc2 b, TFunc3 c);
int foo(TFunc1 a, TFunc2 b, TFunc3 c)
{
return 0;
}
}
%}