summaryrefslogtreecommitdiff
path: root/swig
diff options
context:
space:
mode:
authorMichael Andres <ma@suse.de>2013-11-05 17:07:23 +0100
committerMichael Andres <ma@suse.de>2013-11-05 17:07:23 +0100
commit314831f967698ad008fc457254d09b4b8c494570 (patch)
treee898771a3ab3939ec8462ab3e7f6fa2265357021 /swig
parent722ff74d89f78ca88eed65bf9799c6ae6b32b5af (diff)
downloadlibzypp-bindings-314831f967698ad008fc457254d09b4b8c494570.tar.gz
libzypp-bindings-314831f967698ad008fc457254d09b4b8c494570.tar.bz2
libzypp-bindings-314831f967698ad008fc457254d09b4b8c494570.zip
Fix no attribute access via PoolItem::resolvable
Diffstat (limited to 'swig')
-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>;