summaryrefslogtreecommitdiff
path: root/vendor/github.com/ebitengine/purego/go_runtime.go
blob: 13671ff23f2700ccc825ec697c72e9b24012d78f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2022 The Ebitengine Authors

//go:build darwin || freebsd || linux || windows

package purego

import (
	"unsafe"
)

//go:linkname runtime_cgocall runtime.cgocall
func runtime_cgocall(fn uintptr, arg unsafe.Pointer) int32 // from runtime/sys_libc.go