1 // Copyright 2022 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
7 // #include <complex.h>
10 //export exportComplex64
11 func exportComplex64(v complex64) complex64 {
15 //export exportComplex128
16 func exportComplex128(v complex128) complex128 {
20 //export exportComplexfloat
21 func exportComplexfloat(v C.complexfloat) C.complexfloat {
25 //export exportComplexdouble
26 func exportComplexdouble(v C.complexdouble) C.complexdouble {