On 12/29/19 12:58 AM, Richard Henderson wrote: > On 12/20/19 10:50 PM, Damien Hedde wrote: >> +void resettable_state_clear(ResettableState *state) >> +{ >> + memset(state, 0, sizeof(ResettableState)); >> +} > > Worth moving this into the header as inline? Anyway, I can but it is really not a function which matters a lot since it is only called during realize. I hesitated not to add the function since it is used at only one place. I'm not sure what's bets in that case. Damien