> Considerring the idea about returing &'static [VMStateField], I think at
> least we could return `_FIELDS.as_ptr()` directly from vmstate_fields!,
                         ^^^^^^^^^^^^^^^^
Sorry for copy error :(,  s/_FIELDS.as_ptr()/_FIELDS/

> and convert &'static [VMStateField] to *const [VMStateField] in
> fields(), just like subsections() did.

Reply via email to