Extract6 method
X
Extract6(
- void fn(
- S ptr
Allocates slot '6' as an uninitialized sret destination, passes its raw
pointer to fn, then returns the struct fn wrote into it.
Use this when calling a WASM-compiled C function that returns a struct via an implicit sret pointer rather than a return value. The slot lifetime is tied to the owning RaylibTempBase.
See _Extract for the underlying mechanism, and RefUpdate6 for the
complementary write-then-read pattern.
Implementation
X Extract6(void Function(S ptr) fn) => _Extract(Ref6, fn);