| 1 | // SPDX-License-Identifier: Apache-2.0 |
| 2 | // SPDX-FileCopyrightText: 2022 The Ebitengine Authors |
| 3 | |
| 4 | //go:build darwin || freebsd || linux || netbsd || windows |
| 5 | |
| 6 | package puregoscip-go gomod github.com/ebitengine/purego . `github.com/ebitengine/purego`/ |
| 7 | |
| 8 | import ( |
| 9 | "unsafescip-go gomod github.com/golang/go/src go1.18 unsafe/" |
| 10 | ) |
| 11 | |
| 12 | //go:linkname runtime_cgocall runtime.cgocall |
| 13 | func runtime_cgocallscip-go gomod github.com/ebitengine/purego . `github.com/ebitengine/purego`/runtime_cgocall().(fn uintptr, arg unsafescip-go gomod github.com/golang/go/src go1.18 unsafe/.Pointer) int32 // from runtime/sys_libc.go |