more smart_pointer fixes + cases

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-12-07 23:32:11 +00:00
commit d6760d4889
6 changed files with 87 additions and 26 deletions

View file

@ -9,6 +9,9 @@
int x[4];
int y;
static const int z;
static int boo() { return 0;}
};
class Bar {
@ -18,6 +21,17 @@
Foo *operator->() {
return f;
}
static int bua() { return 0;}
};
class CBar {
Foo *f;
public:
CBar(Foo *f) : f(f) { }
Foo *operator->() const {
return f;
}
};
int get_y(Bar *b)