aboutsummaryrefslogtreecommitdiffstats
path: root/sys/decl.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2016-01-23 00:37:08 +0100
committerDmitry Vyukov <dvyukov@google.com>2016-01-23 00:37:08 +0100
commit8bdf62d1b786790e7914fe3a1ff376351a35e9b8 (patch)
treecd6d770eb20272eb292eca7f4b289a0788a58670 /sys/decl.go
parentb06604d52aa51a62acb5cc4dd0109b65922162ae (diff)
sys: implement array byte size arguments
Diffstat (limited to 'sys/decl.go')
-rw-r--r--sys/decl.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/decl.go b/sys/decl.go
index 01aa937c5..895c353fd 100644
--- a/sys/decl.go
+++ b/sys/decl.go
@@ -313,6 +313,7 @@ func (t VmaType) Align() uintptr {
type LenType struct {
TypeCommon
TypeSize uintptr
+ ByteSize bool // want size in bytes instead of array size
Buf string
}