Skip to content

Commit 13d9576

Browse files
committed
updated binaries from openpgp-mobile and updated version
1 parent df7f27c commit 13d9576

File tree

10 files changed

+33
-9
lines changed

10 files changed

+33
-9
lines changed

android/src/main/jniLibs/arm64-v8a/libopenpgp_bridge.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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;
4646
typedef unsigned long long GoUint64;
4747
typedef GoInt64 GoInt;
4848
typedef GoUint64 GoUint;
49-
typedef __SIZE_TYPE__ GoUintptr;
49+
typedef size_t GoUintptr;
5050
typedef float GoFloat32;
5151
typedef double GoFloat64;
52+
#ifdef _MSC_VER
53+
#include <complex.h>
54+
typedef _Fcomplex GoComplex64;
55+
typedef _Dcomplex GoComplex128;
56+
#else
5257
typedef float _Complex GoComplex64;
5358
typedef double _Complex GoComplex128;
59+
#endif
5460

5561
/*
5662
static assertion to make sure the file is being used on architecture
-27.3 KB
Binary file not shown.

android/src/main/jniLibs/armeabi-v7a/libopenpgp_bridge.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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;
4646
typedef unsigned long long GoUint64;
4747
typedef GoInt32 GoInt;
4848
typedef GoUint32 GoUint;
49-
typedef __SIZE_TYPE__ GoUintptr;
49+
typedef size_t GoUintptr;
5050
typedef float GoFloat32;
5151
typedef double GoFloat64;
52+
#ifdef _MSC_VER
53+
#include <complex.h>
54+
typedef _Fcomplex GoComplex64;
55+
typedef _Dcomplex GoComplex128;
56+
#else
5257
typedef float _Complex GoComplex64;
5358
typedef double _Complex GoComplex128;
59+
#endif
5460

5561
/*
5662
static assertion to make sure the file is being used on architecture
-33.3 KB
Binary file not shown.

android/src/main/jniLibs/x86/libopenpgp_bridge.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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;
4646
typedef unsigned long long GoUint64;
4747
typedef GoInt32 GoInt;
4848
typedef GoUint32 GoUint;
49-
typedef __SIZE_TYPE__ GoUintptr;
49+
typedef size_t GoUintptr;
5050
typedef float GoFloat32;
5151
typedef double GoFloat64;
52+
#ifdef _MSC_VER
53+
#include <complex.h>
54+
typedef _Fcomplex GoComplex64;
55+
typedef _Dcomplex GoComplex128;
56+
#else
5257
typedef float _Complex GoComplex64;
5358
typedef double _Complex GoComplex128;
59+
#endif
5460

5561
/*
5662
static assertion to make sure the file is being used on architecture
-57.3 KB
Binary file not shown.

android/src/main/jniLibs/x86_64/libopenpgp_bridge.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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;
4646
typedef unsigned long long GoUint64;
4747
typedef GoInt64 GoInt;
4848
typedef GoUint64 GoUint;
49-
typedef __SIZE_TYPE__ GoUintptr;
49+
typedef size_t GoUintptr;
5050
typedef float GoFloat32;
5151
typedef double GoFloat64;
52+
#ifdef _MSC_VER
53+
#include <complex.h>
54+
typedef _Fcomplex GoComplex64;
55+
typedef _Dcomplex GoComplex128;
56+
#else
5257
typedef float _Complex GoComplex64;
5358
typedef double _Complex GoComplex128;
59+
#endif
5460

5561
/*
5662
static assertion to make sure the file is being used on architecture
76.6 KB
Binary file not shown.

ios/libopenpgp_bridge.a

-151 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

0 commit comments

Comments
 (0)