Fixes parallel make where each invocation of swig was writing and deleting the same file resulting in lots of the newly introduced warning messages: On exit, could not delete file xxx.py: No such file or directory
29 lines
315 B
OpenEdge ABL
29 lines
315 B
OpenEdge ABL
%module xxx
|
|
|
|
%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() {}
|
|
};
|
|
%}
|
|
|
|
|