fix VC7.1 compilation problem

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

View file

@ -12,6 +12,10 @@
return a;
}
int foof(int a) {
return 3*a;
}
struct A
{
static int bar(int a) {
@ -23,12 +27,9 @@
return -a;
}
friend int foof(int a)
{
return 3*a;
}
//friend int foof(int a);
};
extern "C" int foobar(int a, int (*pf)(int a)) {
return pf(a);