From 109c58ef682799fc7e92d7a74a9c3073f1ccd0ec Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Wed, 18 Jan 2017 13:03:48 +0100 Subject: prog: mutate sized strings with respect to size --- sys/decl.go | 1 + 1 file changed, 1 insertion(+) (limited to 'sys') diff --git a/sys/decl.go b/sys/decl.go index d16534a7f..94d05e0c3 100644 --- a/sys/decl.go +++ b/sys/decl.go @@ -222,6 +222,7 @@ type BufferType struct { Text TextKind // for BufferText SubKind string Values []string // possible values for BufferString kind + Length uintptr // max string length for BufferString kind } func (t *BufferType) Size() uintptr { -- cgit mrf-deployment