blob: ce52482a2c9337501aa3631168395ab927ccefea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// automatically generated by stateify.
package channel
import (
"gvisor.dev/gvisor/pkg/state"
)
func (x *NotificationHandle) beforeSave() {}
func (x *NotificationHandle) save(m state.Map) {
x.beforeSave()
m.Save("n", &x.n)
}
func (x *NotificationHandle) afterLoad() {}
func (x *NotificationHandle) load(m state.Map) {
m.Load("n", &x.n)
}
func init() {
state.Register("pkg/tcpip/link/channel.NotificationHandle", (*NotificationHandle)(nil), state.Fns{Save: (*NotificationHandle).save, Load: (*NotificationHandle).load})
}
|