export_test.go
raw| 1 | // SPDX-License-Identifier: Apache-2.0 |
| 2 | // SPDX-FileCopyrightText: 2026 The Ebitengine Authors |
| 3 | |
| 4 | //go:build darwin || freebsd || linux || netbsd || windows |
| 5 | |
| 6 | package purego |
| 7 | |
| 8 | import "reflect" |
| 9 | |
| 10 | // MaxArgs re-exports maxArgs for external tests. |
| 11 | const MaxArgs = maxArgs |
| 12 | |
| 13 | // StructReturnInMemory re-exports structReturnInMemory for external tests. |
| 14 | func StructReturnInMemory(outType reflect.Type) bool { |
| 15 | return structReturnInMemory(outType) |
| 16 | } |