diff options
author | Michael Andres <ma@suse.de> | 2013-11-06 15:44:50 +0100 |
---|---|---|
committer | Michael Andres <ma@suse.de> | 2013-11-06 15:44:50 +0100 |
commit | a510f5a1ab09290626f1ad37edfce638a749a1dd (patch) | |
tree | f81dc8ef6907dbebc04664ace26e667924af5ccb /swig | |
parent | c17af20dc9ef8002dc132600c1008138d18bb277 (diff) | |
download | libzypp-bindings-a510f5a1ab09290626f1ad37edfce638a749a1dd.tar.gz libzypp-bindings-a510f5a1ab09290626f1ad37edfce638a749a1dd.tar.bz2 libzypp-bindings-a510f5a1ab09290626f1ad37edfce638a749a1dd.zip |
Wrap zypp::Changelog class
Diffstat (limited to 'swig')
-rw-r--r-- | swig/Changelog.i | 11 | ||||
-rw-r--r-- | swig/zypp.i | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/swig/Changelog.i b/swig/Changelog.i new file mode 100644 index 0000000..0470fdb --- /dev/null +++ b/swig/Changelog.i @@ -0,0 +1,11 @@ +%include <zypp/Changelog.h> + +// some list ctor requires a ChangelogEntry default ctor +// but we don't have one. +%ignore std::list<zypp::ChangelogEntry>::list; + +namespace zypp +{ + typedef ::std::list<ChangelogEntry> Changelog; + %template(Changelog) ::std::list<ChangelogEntry>; +} diff --git a/swig/zypp.i b/swig/zypp.i index aff93a5..a7eff12 100644 --- a/swig/zypp.i +++ b/swig/zypp.i @@ -224,6 +224,7 @@ namespace zypp { %include "Kind.i" %include "CheckSum.i" %include "Date.i" +%include "Changelog.i" %include "Dep.i" %include "Capability.i" %include "Capabilities.i" |