libxau.go 515 B

123456789101112131415161718
  1. // Copyright 2023 The libXau-go Authors. All rights reserved.
  2. // Use of the source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //go:generate go run generator.go
  5. // Package libxau is a ccgo/v4 version of libXau.a, a library implementing the
  6. // X11 Authorization Protocol.
  7. package libxau // import "modernc.org/libxau"
  8. import (
  9. "modernc.org/libc"
  10. "modernc.org/libc/sys/types"
  11. )
  12. func _explicit_bzero(tls *libc.TLS, d uintptr, n types.Size_t) {
  13. libc.Xmemset(tls, d, 0, n)
  14. }