summaryrefslogtreecommitdiff
path: root/swig/Changelog.i
diff options
context:
space:
mode:
Diffstat (limited to 'swig/Changelog.i')
-rw-r--r--swig/Changelog.i11
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>;
+}