diff options
Diffstat (limited to 'device/README.md')
-rw-r--r-- | device/README.md | 25 |
1 files changed, 25 insertions, 0 deletions
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 +``` |