Package: glib
Function glib:variant-iter-copy
Lambda Listglib:variant-iter-copy (iter) ArgumentsReturn ValueThe new heap-allocated g:variant-iter instance. Details Creates a new heap-allocated g:variant-iter instance to iterate over the container that was being iterated over by iter.
Iteration begins on the new iterator from the current position of the old
iterator but the two copies are independent past that point. Use the g:variant-iter-free function to free the return value when you no longer need it. A reference is taken to the container that iter is iterating over and will be released only when the g:variant-iter-free function is called. | See also |
#2025-05-04