File tree Expand file tree Collapse file tree 10 files changed +33
-9
lines changed Expand file tree Collapse file tree 10 files changed +33
-9
lines changed Original file line number Diff line number Diff line change 55
66#line 1 "cgo-builtin-export-prolog"
77
8- #include <stddef.h> /* for ptrdiff_t below */
8+ #include <stddef.h>
99
1010#ifndef GO_CGO_EXPORT_PROLOGUE_H
1111#define GO_CGO_EXPORT_PROLOGUE_H
@@ -46,11 +46,17 @@ typedef long long GoInt64;
4646typedef unsigned long long GoUint64 ;
4747typedef GoInt64 GoInt ;
4848typedef GoUint64 GoUint ;
49- typedef __SIZE_TYPE__ GoUintptr ;
49+ typedef size_t GoUintptr ;
5050typedef float GoFloat32 ;
5151typedef double GoFloat64 ;
52+ #ifdef _MSC_VER
53+ #include <complex.h>
54+ typedef _Fcomplex GoComplex64 ;
55+ typedef _Dcomplex GoComplex128 ;
56+ #else
5257typedef float _Complex GoComplex64 ;
5358typedef double _Complex GoComplex128 ;
59+ #endif
5460
5561/*
5662 static assertion to make sure the file is being used on architecture
Original file line number Diff line number Diff line change 55
66#line 1 "cgo-builtin-export-prolog"
77
8- #include <stddef.h> /* for ptrdiff_t below */
8+ #include <stddef.h>
99
1010#ifndef GO_CGO_EXPORT_PROLOGUE_H
1111#define GO_CGO_EXPORT_PROLOGUE_H
@@ -46,11 +46,17 @@ typedef long long GoInt64;
4646typedef unsigned long long GoUint64 ;
4747typedef GoInt32 GoInt ;
4848typedef GoUint32 GoUint ;
49- typedef __SIZE_TYPE__ GoUintptr ;
49+ typedef size_t GoUintptr ;
5050typedef float GoFloat32 ;
5151typedef double GoFloat64 ;
52+ #ifdef _MSC_VER
53+ #include <complex.h>
54+ typedef _Fcomplex GoComplex64 ;
55+ typedef _Dcomplex GoComplex128 ;
56+ #else
5257typedef float _Complex GoComplex64 ;
5358typedef double _Complex GoComplex128 ;
59+ #endif
5460
5561/*
5662 static assertion to make sure the file is being used on architecture
Original file line number Diff line number Diff line change 55
66#line 1 "cgo-builtin-export-prolog"
77
8- #include <stddef.h> /* for ptrdiff_t below */
8+ #include <stddef.h>
99
1010#ifndef GO_CGO_EXPORT_PROLOGUE_H
1111#define GO_CGO_EXPORT_PROLOGUE_H
@@ -46,11 +46,17 @@ typedef long long GoInt64;
4646typedef unsigned long long GoUint64 ;
4747typedef GoInt32 GoInt ;
4848typedef GoUint32 GoUint ;
49- typedef __SIZE_TYPE__ GoUintptr ;
49+ typedef size_t GoUintptr ;
5050typedef float GoFloat32 ;
5151typedef double GoFloat64 ;
52+ #ifdef _MSC_VER
53+ #include <complex.h>
54+ typedef _Fcomplex GoComplex64 ;
55+ typedef _Dcomplex GoComplex128 ;
56+ #else
5257typedef float _Complex GoComplex64 ;
5358typedef double _Complex GoComplex128 ;
59+ #endif
5460
5561/*
5662 static assertion to make sure the file is being used on architecture
Original file line number Diff line number Diff line change 55
66#line 1 "cgo-builtin-export-prolog"
77
8- #include <stddef.h> /* for ptrdiff_t below */
8+ #include <stddef.h>
99
1010#ifndef GO_CGO_EXPORT_PROLOGUE_H
1111#define GO_CGO_EXPORT_PROLOGUE_H
@@ -46,11 +46,17 @@ typedef long long GoInt64;
4646typedef unsigned long long GoUint64 ;
4747typedef GoInt64 GoInt ;
4848typedef GoUint64 GoUint ;
49- typedef __SIZE_TYPE__ GoUintptr ;
49+ typedef size_t GoUintptr ;
5050typedef float GoFloat32 ;
5151typedef double GoFloat64 ;
52+ #ifdef _MSC_VER
53+ #include <complex.h>
54+ typedef _Fcomplex GoComplex64 ;
55+ typedef _Dcomplex GoComplex128 ;
56+ #else
5257typedef float _Complex GoComplex64 ;
5358typedef double _Complex GoComplex128 ;
59+ #endif
5460
5561/*
5662 static assertion to make sure the file is being used on architecture
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-fast-openpgp" ,
3- "version" : " 2.4.1 " ,
3+ "version" : " 2.4.2 " ,
44 "description" : " library for use openPGP" ,
55 "main" : " lib/commonjs/index" ,
66 "module" : " lib/module/index" ,
You can’t perform that action at this time.
0 commit comments