aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/decl.go1
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 {