Function init [src]

Initialize the args iterator. Consider using initWithAllocator() instead for cross-platform compatibility.

Prototype

pub fn init() ArgIterator

Source

pub fn init() ArgIterator { if (native_os == .wasi) { @compileError("In WASI, use initWithAllocator instead."); } if (native_os == .windows) { @compileError("In Windows, use initWithAllocator instead."); } return ArgIterator{ .inner = InnerType.init() }; }