diff options
Diffstat (limited to 'swig/ZYppFactory.i')
-rw-r--r-- | swig/ZYppFactory.i | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/swig/ZYppFactory.i b/swig/ZYppFactory.i index 3ac0b5a..5617f7e 100644 --- a/swig/ZYppFactory.i +++ b/swig/ZYppFactory.i @@ -1,9 +1,11 @@ - +%include <zypp/ZYpp.h> %include <zypp/ZYppFactory.h> -namespace zypp -{ -typedef ::zypp::intrusive_ptr<ZYpp> ZYpp_Ptr; -%template(ZYpp_Ptr) ::zypp::intrusive_ptr<ZYpp>; -} +typedef ::boost::detail::sp_member_access<::zypp::ZYpp> b_d_sp_member_access; +%template(b_d_sp_member_access) boost::detail::sp_member_access<::zypp::ZYpp>; + +typedef ::boost::detail::sp_dereference<::zypp::ZYpp> b_d_sp_dereference; +%template(b_d_sp_dereference) boost::detail::sp_dereference<::zypp::ZYpp>; +typedef ::boost::shared_ptr<::zypp::ZYpp> ZYpp_Ptr; +%template(ZYpp_Ptr) ::boost::shared_ptr<::zypp::ZYpp>; |