Skip to content

Commit

Permalink
swig: Add wrappers for TransactionEnvironment and TransactionGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
pkratoch committed Sep 13, 2024
1 parent d7101b3 commit da3a1d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bindings/libdnf5/base.i
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,12 @@

%template(VectorLogEvent) std::vector<libdnf5::base::LogEvent>;

%include "libdnf5/base/transaction_environment.hpp"
%include "libdnf5/base/transaction_group.hpp"
%include "libdnf5/base/transaction_package.hpp"

%template(VectorBaseTransactionEnvironment) std::vector<libdnf5::base::TransactionEnvironment>;
%template(VectorBaseTransactionGroup) std::vector<libdnf5::base::TransactionGroup>;
%template(VectorBaseTransactionPackage) std::vector<libdnf5::base::TransactionPackage>;

%include "libdnf5/base/goal.hpp"
Expand Down

0 comments on commit da3a1d3

Please sign in to comment.