summaryrefslogtreecommitdiff
path: root/swig/ResTraits.i
diff options
context:
space:
mode:
Diffstat (limited to 'swig/ResTraits.i')
-rw-r--r--swig/ResTraits.i9
1 files changed, 9 insertions, 0 deletions
diff --git a/swig/ResTraits.i b/swig/ResTraits.i
index 6658bdb..bdd4f2e 100644
--- a/swig/ResTraits.i
+++ b/swig/ResTraits.i
@@ -22,6 +22,15 @@ namespace zypp
}
+namespace zypp::ResObject::TraitsType
+{
+ typedef ::zypp::intrusive_ptr<const zypp::ResObject> constPtrType;
+}
+namespace zypp::Resolvable::TraitsType
+{
+ typedef ::zypp::intrusive_ptr<const zypp::Resolvable> constPtrType;
+}
+
%template(ResTraitsResolvable) zypp::ResTraits<zypp::Resolvable>;
%template(ResTraitsResObject) zypp::ResTraits<zypp::ResObject>;