Function deinit [src]
Call this to free the iterator's internal buffer if the iterator
was created with initWithAllocator function.
Prototype
pub fn deinit(self: *ArgIterator) void
Parameters
self: *ArgIterator
Source
pub fn deinit(self: *ArgIterator) void {
// Unless we're targeting WASI or Windows, this is a no-op.
if (native_os == .wasi and !builtin.link_libc) {
self.inner.deinit();
}
if (native_os == .windows) {
self.inner.deinit();
}
}