#ifdef SWIGPERL5 %template(StringList) std::list; #endif %include %include %include %include namespace zypp { typedef ::zypp::intrusive_ptr< Resolver > Resolver_Ptr; %template(Resolver_Ptr) ::zypp::intrusive_ptr; #ifndef SWIGRUBY /* swig generates wrong code (>> instead of > > for template type) * in Ruby */ typedef ::boost::intrusive_ptr< ResolverProblem > ResolverProblem_Ptr; %template(ResolverProblem_Ptr) ::boost::intrusive_ptr< ResolverProblem >; typedef std::list< ResolverProblem_Ptr > ResolverProblemList; %template(ResolverProblemList) ::std::list< ResolverProblem_Ptr >; #endif }