RefUpdate6<V> method

V RefUpdate6<V>(
  1. X? o,
  2. V fn(
    1. Pointer<T> p
    )
)

Allocates o into slot '6', calls fn with the pointer, then syncs native memory back into o via setCFunc.

Use this instead of Ref6 when the C function writes into the struct and you want the mutations reflected in o after the call.

Implementation

V RefUpdate6<V>(X? o, V Function(Pointer<T> p) fn) => _RefUpdate$(o, fn, Ref6);