Ref1 method

P Ref1([
  1. X? o
])

Allocates o into slot '1', or reuses the existing slot '1' allocation if o is null.

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

Implementation

P Ref1([X? o]) => _Ref(o, '1');