github.com/ebitengine/purego@v0.8.0-alpha.2.0.20240512170805-6cd12240d332/struct_other.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: 2024 The Ebitengine Authors 3 4 //go:build !amd64 && !arm64 5 6 package purego 7 8 import "reflect" 9 10 func addStruct(v reflect.Value, numInts, numFloats, numStack *int, addInt, addFloat, addStack func(uintptr), keepAlive []interface{}) []interface{} { 11 panic("purego: struct arguments are not supported") 12 } 13 14 func getStruct(outType reflect.Type, syscall syscall15Args) (v reflect.Value) { 15 panic("purego: struct returns are not supported") 16 }