summaryrefslogtreecommitdiff
path: root/swig/ResObject.i
blob: d25b6ef2ca9427b21a1e02b747e7d1574c4c8a1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%ignore zypp::make_res_object;
%ignore zypp::ResObject::installsize;
%ignore zypp::ResObject::size;

%include <zypp/ResObject.h>

%extend intrusive_ptr<const ResObject>
{
    int __cmp__(intrusive_ptr<const ResObject>& other)
    {
        return *self == other;
    }
}