Ref2OrNull method
P
Ref2OrNull([
- X? o
Allocates o into slot '2', or returns nullptr if o is null.
Intended as a short-lived scratch reference within a single C call. Use RefUpdate2 if the callee may write back into the pointer.
Implementation
P Ref2OrNull([X? o]) => _RefOrNull(o, '2');