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 authored and ppisar committed Sep 16, 2024
1 parent 3b64925 commit d7e4524
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 d7e4524

Please sign in to comment.