Fix director typemaps for pointers so that NULL pointers are correctly marshalled to C#/Java null in director methods

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-07-14 21:09:23 +00:00
commit 4887e7be7c
6 changed files with 127 additions and 20 deletions

View file

@ -112,12 +112,14 @@ public:
return vmethod(b);
}
static MyClass *get_self(MyClass *c)
{
return c;
}
static Bar * call_pmethod(MyClass *myclass, Bar *b) {
return myclass->pmethod(b);
}
};
template<class T>