summaryrefslogtreecommitdiff
path: root/src/cmd/gc/unsafe.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2009-02-10 11:46:26 -0800
committerIan Lance Taylor <iant@golang.org>2009-02-10 11:46:26 -0800
commitcce74a1aded2826ee6a1189185f5b0de46dd02a0 (patch)
treed67091af3bcae0f07a74be6a8a45f697a6b12742 /src/cmd/gc/unsafe.go
parenta075e8de3c113ca1d94e794626a7dd56cb20b428 (diff)
downloadgo-cce74a1aded2826ee6a1189185f5b0de46dd02a0.tar.gz
Implement unsafe.Alignof.
R=ken DELTA=20 (19 added, 0 deleted, 1 changed) OCL=24719 CL=24771
Diffstat (limited to 'src/cmd/gc/unsafe.go')
-rw-r--r--src/cmd/gc/unsafe.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/gc/unsafe.go b/src/cmd/gc/unsafe.go
index 47703f6e0..d1dcee02a 100644
--- a/src/cmd/gc/unsafe.go
+++ b/src/cmd/gc/unsafe.go
@@ -8,3 +8,4 @@ package PACKAGE
type Pointer *any;
func Offsetof(any) int;
func Sizeof(any) int;
+func Alignof(any) int;