mirror of https://github.com/swig/swig
15 lines
298 B
OpenEdge ABL
15 lines
298 B
OpenEdge ABL
%module xxx
|
|
|
|
%feature("smartptr", noblock=1) AA { std::shared_ptr< AA > }
|
|
%feature("smartptr", noblock=1) DD { std::shared_ptr< }
|
|
|
|
|
|
struct AA {};
|
|
struct BB : AA {};
|
|
struct CC : AA {};
|
|
struct DD : AA {};
|
|
|
|
%feature("smartptr", noblock=1) YY { std::shared_ptr< YY > }
|
|
struct XX {};
|
|
struct YY : XX {};
|