summaryrefslogtreecommitdiff
path: root/swig/Pattern.i
diff options
context:
space:
mode:
Diffstat (limited to 'swig/Pattern.i')
-rw-r--r--swig/Pattern.i6
1 files changed, 5 insertions, 1 deletions
diff --git a/swig/Pattern.i b/swig/Pattern.i
index 3d88887..a2b73f3 100644
--- a/swig/Pattern.i
+++ b/swig/Pattern.i
@@ -1 +1,5 @@
-%include <zypp/Pattern.h> \ No newline at end of file
+%include <zypp/Pattern.h>
+
+typedef ::zypp::intrusive_ptr<const Pattern> Pattern_constPtr;
+%template(Pattern_constPtr) ::zypp::intrusive_ptr<const Pattern>;
+