mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-05 13:32:26 +00:00
34 lines
609 B
Go
34 lines
609 B
Go
// 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"
|
|
|
|
//go:noescape
|
|
func TLSAlloc(p0 *TLS, p1 int) uintptr
|
|
|
|
//go:noescape
|
|
func TLSFree(p0 *TLS, p1 int)
|
|
|
|
//go:noescape
|
|
func TLSAllocaEntry(p0 *TLS)
|
|
|
|
//go:noescape
|
|
func TLSAllocaExit(p0 *TLS)
|
|
|
|
func tlsAlloc(tls *TLS, n int) uintptr {
|
|
return tls.Alloc(n)
|
|
}
|
|
|
|
func tlsFree(tls *TLS, n int) {
|
|
tls.Free(n)
|
|
}
|
|
|
|
func tlsAllocaEntry(tls *TLS) {
|
|
tls.AllocaEntry()
|
|
}
|
|
|
|
func tlsAllocaExit(tls *TLS) {
|
|
tls.AllocaExit()
|
|
}
|