git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-02-27 18:18:03 +00:00
parent 2e342337c0
commit 0c55b8dad8
1 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,8 @@ std::string nullsmartpointerpointertest(SwigBoost::shared_ptr<Klass>* k) {
return "null smartpointer pointer";
else if (!*k)
return "null pointer";
else
return "also not null";
}
// $owner
Klass *pointerownertest() {