summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/tls_linux_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/tls_linux_amd64.go')
-rw-r--r--vendor/modernc.org/libc/tls_linux_amd64.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/tls_linux_amd64.go b/vendor/modernc.org/libc/tls_linux_amd64.go
new file mode 100644
index 000000000..89ff4de25
--- /dev/null
+++ b/vendor/modernc.org/libc/tls_linux_amd64.go
@@ -0,0 +1,16 @@
+// Copyright 2025 The Libc 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 libc // import "modernc.org/libc"
+
+func TLSAlloc(p0 *TLS, p1 int) uintptr
+func TLSFree(p0 *TLS, p1 int)
+
+func tlsAlloc(tls *TLS, n int) uintptr {
+ return tls.Alloc(n)
+}
+
+func tlsFre(tls *TLS, n int) {
+ tls.Free(n)
+}