summaryrefslogtreecommitdiff
path: root/swig/Edition.i
blob: db080901750277c5f42b94966eb35fe365de08ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Ignore member functions shadowed by static versions
// ma@: maybe one should ignore the statics and keep the members?
%ignore zypp::Edition::match(Edition const &) const;
%ignore zypp::Edition::match(IdString const &) const;
%ignore zypp::Edition::match(std::string const &) const;
%ignore zypp::Edition::match(char const *) const;

// ma@: Why do we need this?
//namespace zypp
//{
//   %rename Edition::compare(const Edition& lhs, const Edition& rhs) compare2;
//   %rename Edition::match(const Edition& lhs, const Edition& rhs) match2;
//}

//%ignore zypp::Edition::compare(const Edition &, const Edition &);

%template(IdStringEdition) zypp::IdStringType<zypp::Edition>;
%include <zypp/Edition.h>