mirror of
https://github.com/make-42/xyosc
synced 2025-01-19 02:57:34 +01:00
19 lines
333 B
Go
19 lines
333 B
Go
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-FileCopyrightText: 2022 The Ebitengine Authors
|
|
|
|
//go:build !cgo && (darwin || freebsd || linux)
|
|
|
|
package fakecgo
|
|
|
|
//go:nosplit
|
|
//go:norace
|
|
func x_cgo_setenv(arg *[2]*byte) {
|
|
setenv(arg[0], arg[1], 1)
|
|
}
|
|
|
|
//go:nosplit
|
|
//go:norace
|
|
func x_cgo_unsetenv(arg *[1]*byte) {
|
|
unsetenv(arg[0])
|
|
}
|