From: Balbir Singh > Sent: 19 October 2016 15:00 ... > Here is an example > > - *slot = retbuf[0]; > + *slot = retvals.v[0]; > > Could we hide retvals.v[0] under a macro like > > *slot = hcalls_ret_val(retvals, 0);
Ugg.. > Since we could end up with similar issues if > someone dereferenced retvals.v[4] The compiler will detect that these days. David