blob: 2d1f4025adee80dfb7d0f2a081a1347a220ff173 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifdef SWIGPERL5
%template(StringList) std::list<std::string>;
#endif
%include <zypp/ProblemTypes.h>
%include <zypp/ResolverProblem.h>
%include <zypp/ProblemSolution.h>
%include <zypp/Resolver.h>
namespace zypp
{
typedef intrusive_ptr< Resolver > Resolver_Ptr;
%template(Resolver_Ptr) intrusive_ptr<Resolver>;
#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
}
|