// automatically generated by stateify. package platform import ( "gvisor.dev/gvisor/pkg/state" ) func (x *FileRange) beforeSave() {} func (x *FileRange) save(m state.Map) { x.beforeSave() m.Save("Start", &x.Start) m.Save("End", &x.End) } func (x *FileRange) afterLoad() {} func (x *FileRange) load(m state.Map) { m.Load("Start", &x.Start) m.Load("End", &x.End) } func init() { state.Register("pkg/sentry/platform.FileRange", (*FileRange)(nil), state.Fns{Save: (*FileRange).save, Load: (*FileRange).load}) }