Method lrs::string::CPtrPtr::finish

Finishes the construction and returns the *const *const c_char.

Syntax

impl<Heap> CPtrPtr<Heap>
    where Heap: Allocator,
{
    fn finish(&mut self) -> Result<&mut [*const i8], Errno>
}

Remarks

The last element of the slice contains a null pointer. The returned value becomes invalid when another function of this object is called.