Ref6OrNull method

P Ref6OrNull([
  1. X? o
])

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

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

Implementation

P Ref6OrNull([X? o]) => _RefOrNull(o, '6');