New warning when the smartptr feature is missing in some classes in an inheritance chain. Errors test-suite now uses Python instead of Tcl as testing language

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2011-01-17 21:12:35 +00:00
commit 3d7799fe0d
8 changed files with 107 additions and 16 deletions

View file

@ -0,0 +1,29 @@
%module cpp_shared_ptr
%include <boost_shared_ptr.i>
%shared_ptr(B);
%shared_ptr(C);
%inline %{
#include <stdio.h>
#include <boost/shared_ptr.hpp>
struct A {
virtual ~A() {}
};
struct B {
virtual ~B() {}
};
struct C : B, A {
virtual ~C() {}
};
struct D : C {
virtual ~D() {}
};
%}