swig: Add bindings for templated functions that convert nevra to string

Resolves: https://github.com/rpm-software-management/dnf5/issues/1644
This commit is contained in:
Pavla Kratochvilova 2025-07-08 15:02:18 +02:00
parent f5082772c4
commit a28f6ca579
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@
%template(VectorNevraForm) std::vector<libdnf5::rpm::Nevra::Form>;
%template(PairBoolNevra) std::pair<bool, libdnf5::rpm::Nevra>;
%template(cmp_nevra) libdnf5::rpm::cmp_nevra<libdnf5::rpm::Nevra>;
%template(to_full_nevra_string) libdnf5::rpm::to_full_nevra_string<libdnf5::rpm::Nevra>;
%template(to_nevra_string) libdnf5::rpm::to_nevra_string<libdnf5::rpm::Nevra>;
%include "libdnf5/rpm/versionlock_config.hpp"