Ref4OrNull method

P Ref4OrNull([
  1. X? o
])

Allocates o into slot '4', or returns nullptr if o is null.

Intended as a short-lived scratch reference within a single C call. Use RefUpdate4 if the callee may write back into the pointer.

Implementation

P Ref4OrNull([X? o]) => _RefOrNull(o, '4');