mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/cgo: use standard C syntax for complex types
(instead of using a GCC extension). Change-Id: I110dc45bfe5f1377fe3453070eccde283b5cc161 Reviewed-on: https://go-review.googlesource.com/17716 Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
61eb7058d0
commit
91c3cae83a
1 changed files with 2 additions and 2 deletions
|
|
@ -1420,8 +1420,8 @@ typedef GoUintGOINTBITS GoUint;
|
||||||
typedef __SIZE_TYPE__ GoUintptr;
|
typedef __SIZE_TYPE__ GoUintptr;
|
||||||
typedef float GoFloat32;
|
typedef float GoFloat32;
|
||||||
typedef double GoFloat64;
|
typedef double GoFloat64;
|
||||||
typedef __complex float GoComplex64;
|
typedef float _Complex GoComplex64;
|
||||||
typedef __complex double GoComplex128;
|
typedef double _Complex GoComplex128;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
static assertion to make sure the file is being used on architecture
|
static assertion to make sure the file is being used on architecture
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue