From e938c70338f6d377ae8251f0ab1b88bfc2ce312b Mon Sep 17 00:00:00 2001 From: Jan Kolarik Date: Tue, 30 Jan 2024 13:03:48 +0100 Subject: [PATCH] swig: Add new versionlock bindings --- bindings/libdnf5/rpm.i | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindings/libdnf5/rpm.i b/bindings/libdnf5/rpm.i index fb8d36872..f097b6448 100644 --- a/bindings/libdnf5/rpm.i +++ b/bindings/libdnf5/rpm.i @@ -44,6 +44,7 @@ #include "libdnf5/rpm/reldep_list_iterator.hpp" #include "libdnf5/rpm/rpm_signature.hpp" #include "libdnf5/rpm/transaction_callbacks.hpp" + #include "libdnf5/rpm/versionlock_config.hpp" %} #define CV __perl_CV @@ -59,6 +60,11 @@ %template(VectorNevraForm) std::vector; %template(PairBoolNevra) std::pair; +%include "libdnf5/rpm/versionlock_config.hpp" + +%template(VectorVersionlockCondition) std::vector; +%template(VectorVersionlockPackage) std::vector; + %include "libdnf5/rpm/package_sack.hpp" %template(PackageSackWeakPtr) libdnf5::WeakPtr;