summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/tls_linux_amd64.go
blob: 89ff4de256b539c5435391f342d1c2175f1f48ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)
}