summaryrefslogtreecommitdiff
path: root/swig/SrcPackage.i
diff options
context:
space:
mode:
Diffstat (limited to 'swig/SrcPackage.i')
-rw-r--r--swig/SrcPackage.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/swig/SrcPackage.i b/swig/SrcPackage.i
index b239fe6..c7b9c57 100644
--- a/swig/SrcPackage.i
+++ b/swig/SrcPackage.i
@@ -1 +1,5 @@
%include <zypp/SrcPackage.h>;
+
+typedef ::zypp::intrusive_ptr<const SrcPackage> SrcPackage_constPtr;
+%template(SrcPackage_constPtr) ::zypp::intrusive_ptr<const SrcPackage>;
+