diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2017-01-18 13:03:48 +0100 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@google.com> | 2017-01-18 19:16:07 +0100 |
| commit | 109c58ef682799fc7e92d7a74a9c3073f1ccd0ec (patch) | |
| tree | 0afab56194498858fe743589da1466956abbff0b /sys | |
| parent | 11fa77cbbed73f018515d2ec5c6bff4123aa763a (diff) | |
prog: mutate sized strings with respect to size
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/decl.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |
