more smart_pointer + static methods fixes

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-12-23 01:12:07 +00:00
commit ba413fd500
3 changed files with 45 additions and 4 deletions

View file

@ -69,3 +69,29 @@
};
%}
%extend CFoo
{
public:
static void StatFun() {};
static void StatFun(int i) {};
static void HoHoHo(int i, int j) {};
}
%inline %{
class CFoo
{
};
class CPtrFoo
{
public:
CFoo* operator->(void) {return 0;};
};
%}