// automatically generated by stateify. package ttydev import ( "gvisor.dev/gvisor/pkg/state" ) func (t *ttyDevice) StateTypeName() string { return "pkg/sentry/devices/ttydev.ttyDevice" } func (t *ttyDevice) StateFields() []string { return []string{} } func (t *ttyDevice) beforeSave() {} // +checklocksignore func (t *ttyDevice) StateSave(stateSinkObject state.Sink) { t.beforeSave() } func (t *ttyDevice) afterLoad() {} // +checklocksignore func (t *ttyDevice) StateLoad(stateSourceObject state.Source) { } func init() { state.Register((*ttyDevice)(nil)) }