blob: 13ea50daf6e3cc0017389a503c84d961e5f8ee74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// automatically generated by stateify.
package platform
import (
"gvisor.googlesource.com/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("platform.FileRange", (*FileRange)(nil), state.Fns{Save: (*FileRange).save, Load: (*FileRange).load})
}
|