github.com/moontrade/nogc@v0.1.7/unsafecgo/call_cgo.go (about)

     1  //go:build !amd64 && !arm64 && !tinygo
     2  // +build !amd64,!arm64,!tinygo
     3  
     4  package unsafecgo
     5  
     6  import (
     7  	"github.com/moontrade/nogc/unsafecgo/cgo"
     8  )
     9  
    10  func NonBlocking(fn *byte, arg0, arg1 uintptr) {
    11  	cgo.Blocking(fn, arg0, arg1)
    12  }
    13  
    14  func Blocking(fn *byte, arg0, arg1 uintptr) {
    15  	cgo.Blocking(fn, arg0, arg1)
    16  }