summaryrefslogtreecommitdiff
path: root/swig/ZYppFactory.i
diff options
context:
space:
mode:
Diffstat (limited to 'swig/ZYppFactory.i')
-rw-r--r--swig/ZYppFactory.i9
1 files changed, 9 insertions, 0 deletions
diff --git a/swig/ZYppFactory.i b/swig/ZYppFactory.i
new file mode 100644
index 0000000..1c1d676
--- /dev/null
+++ b/swig/ZYppFactory.i
@@ -0,0 +1,9 @@
+
+%include <zypp/ZYppFactory.h>
+
+namespace zypp
+{
+typedef intrusive_ptr<ZYpp> ZYpp_Ptr;
+%template(ZYpp_Ptr) intrusive_ptr<ZYpp>;
+}
+