github.com/ebitengine/purego@v0.8.0-alpha.2.0.20240512170805-6cd12240d332/internal/fakecgo/libcgo_darwin.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // SPDX-FileCopyrightText: 2022 The Ebitengine Authors
     3  
     4  //go:build !cgo
     5  
     6  package fakecgo
     7  
     8  type (
     9  	pthread_mutex_t struct {
    10  		sig    int64
    11  		opaque [56]byte
    12  	}
    13  	pthread_cond_t struct {
    14  		sig    int64
    15  		opaque [40]byte
    16  	}
    17  )
    18  
    19  var (
    20  	PTHREAD_COND_INITIALIZER  = pthread_cond_t{sig: 0x3CB0B1BB}
    21  	PTHREAD_MUTEX_INITIALIZER = pthread_mutex_t{sig: 0x32AAABA7}
    22  )