tls_linux_amd64.go 386 B

12345678910111213141516
  1. // Copyright 2025 The Libc Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package libc // import "modernc.org/libc"
  5. func TLSAlloc(p0 *TLS, p1 int) uintptr
  6. func TLSFree(p0 *TLS, p1 int)
  7. func tlsAlloc(tls *TLS, n int) uintptr {
  8. return tls.Alloc(n)
  9. }
  10. func tlsFre(tls *TLS, n int) {
  11. tls.Free(n)
  12. }