swrap1 method
Binds a cwraped C function taking 1 argument that returns a struct
via the WASM structure-return (sret) convention.
The first parameter is the caller-allocated pointer the struct is
written into, followed by the function's real argument. Always
returns void, read the result back out of the pointer you passed in.
Implementation
WF2<void> swrap1(String name) {
final f = _ws(name, 1);
return (a1, a2) => f.run([a1, a2]);
}