diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2023-10-25 14:40:11 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2023-10-25 14:40:11 +0200 |
| commit | 8ed9ced09964a0f70ffcadd0aa8d25c7bc339352 (patch) | |
| tree | 4aefd3d5280837d2547a980995a3aa1a9eda4cb5 /vendor/golang.org/x/sys/internal/unsafeheader | |
| parent | f308ca92d1631e579fbfe3b3da13c93709dc18a2 (diff) | |
| download | gofu-8ed9ced09964a0f70ffcadd0aa8d25c7bc339352.tar.gz | |
bump all dependencies to their latest versions
Diffstat (limited to 'vendor/golang.org/x/sys/internal/unsafeheader')
| -rw-r--r-- | vendor/golang.org/x/sys/internal/unsafeheader/unsafeheader.go | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/vendor/golang.org/x/sys/internal/unsafeheader/unsafeheader.go b/vendor/golang.org/x/sys/internal/unsafeheader/unsafeheader.go deleted file mode 100644 index e07899b..0000000 --- a/vendor/golang.org/x/sys/internal/unsafeheader/unsafeheader.go +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// Package unsafeheader contains header declarations for the Go runtime's -// slice and string implementations. -// -// This package allows x/sys to use types equivalent to -// reflect.SliceHeader and reflect.StringHeader without introducing -// a dependency on the (relatively heavy) "reflect" package. -package unsafeheader - -import ( - "unsafe" -) - -// Slice is the runtime representation of a slice. -// It cannot be used safely or portably and its representation may change in a later release. -type Slice struct { - Data unsafe.Pointer - Len int - Cap int -} - -// String is the runtime representation of a string. -// It cannot be used safely or portably and its representation may change in a later release. -type String struct { - Data unsafe.Pointer - Len int -} |
