Re use of rust's regular Iterator type
Since you are programming with rust+ffi there are some games you may be able to
play with ref counting in C to adjust the lifetime of headers returned from an
What I am suggesting (but I know nothing serious about rust) is running an
array of header references during an iteration using *Link() that have *Free()
called when the rust Iterator goes out of scope.
No idea whether that is possible, and be forewarned: a full serial iteration
over Packages will load 100+ Mytes.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
Rpm-maint mailing list