From 430487c9e7cb4425def8605c6730aa4a168b000d Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Tue, 25 Aug 2020 15:26:54 -0700 Subject: [go-marshal] Enable auto-marshalling for host tty. PiperOrigin-RevId: 328415633 --- pkg/abi/linux/tty.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/abi') diff --git a/pkg/abi/linux/tty.go b/pkg/abi/linux/tty.go index 8ac02aee8..e640969a6 100644 --- a/pkg/abi/linux/tty.go +++ b/pkg/abi/linux/tty.go @@ -23,6 +23,8 @@ const ( ) // Winsize is struct winsize, defined in uapi/asm-generic/termios.h. +// +// +marshal type Winsize struct { Row uint16 Col uint16 @@ -31,6 +33,8 @@ type Winsize struct { } // Termios is struct termios, defined in uapi/asm-generic/termbits.h. +// +// +marshal type Termios struct { InputFlags uint32 OutputFlags uint32 -- cgit v1.2.3