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:
parent
4eeb33782e
commit
ba413fd500
3 changed files with 45 additions and 4 deletions
|
|
@ -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;};
|
||||
};
|
||||
|
||||
%}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue