RefUpdate7<R> method
R
RefUpdate7<R>(
- X? o,
- R fn(
- P p
Allocates o into slot '7', calls fn with the pointer, then
syncs native memory back into o via updateFunc.
Use this instead of Ref7 when the C function writes into the struct and
you want the mutations reflected in o after the call.
Implementation
R RefUpdate7<R>(X? o, R Function(P p) fn) => _RefUpdate(o, fn, Ref7);