Skip to content

Commit

Permalink
swig: Add new versionlock bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-kolarik committed Feb 14, 2024
1 parent eeeedfb commit e938c70
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bindings/libdnf5/rpm.i
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -59,6 +60,11 @@
%template(VectorNevraForm) std::vector<libdnf5::rpm::Nevra::Form>;
%template(PairBoolNevra) std::pair<bool, libdnf5::rpm::Nevra>;

%include "libdnf5/rpm/versionlock_config.hpp"

%template(VectorVersionlockCondition) std::vector<libdnf5::rpm::VersionlockCondition>;
%template(VectorVersionlockPackage) std::vector<libdnf5::rpm::VersionlockPackage>;

%include "libdnf5/rpm/package_sack.hpp"
%template(PackageSackWeakPtr) libdnf5::WeakPtr<libdnf5::rpm::PackageSack, false>;

Expand Down

0 comments on commit e938c70

Please sign in to comment.