RefOrNull1 method
Writes o into slot '1' and returns its pointer, or returns nullptr
if o is null.
Use this instead of Ref1 when the C API uses a null pointer to signal "no value".
Implementation
Pointer<Char> RefOrNull1(String? o) => o == null ? nullptr : Ref1(o);