From cafc472cfa435a531cb13a7c64af081ccf3f4697 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Thu, 25 Jun 2015 15:46:49 +0100 Subject: Add new README.md files. Change-Id: I25cc3b08b2615fb2664c27871f40a9d817b11850 --- device/README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 device/README.md (limited to 'device') diff --git a/device/README.md b/device/README.md new file mode 100644 index 000000000..f9b0874ef --- /dev/null +++ b/device/README.md @@ -0,0 +1,25 @@ +# device +-- + import "android.googlesource.com/platform/tools/gpu/device" + + +## Usage + +#### type Architecture + +```go +type Architecture struct { + PointerAlignment int // The alignment in bytes of a pointer type. + PointerSize int // The size in bytes of a pointer type. + IntegerSize int // The size in bytes of a int or unsigned int. + ByteOrder endian.ByteOrder // The byte ordering for the target. +} +``` + +Architecture holds architecture information about a device. + +#### func (Architecture) String + +```go +func (a Architecture) String() string +``` -- cgit v1.2.3