struct_other.go 497 B

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