diff options
Diffstat (limited to 'swig/Changelog.i')
-rw-r--r-- | swig/Changelog.i | 11 |
1 files changed, 11 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>; +} |