Skip to content

Commit 6d7de3c

Browse files
committed
Merge pull request #15 from MartinNowak/externC
add missing extern(C)
2 parents 89d4e8d + b63eeb6 commit 6d7de3c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

deimos/openssl/ec.d

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,8 @@ version(OPENSSL_NO_DEPRECATED) {} else {
9090
public import deimos.openssl.bn;
9191
}
9292

93-
// #ifdef __cplusplus
94-
// extern "C" {
95-
// #elif defined(__SUNPRO_C)
96-
// # if __SUNPRO_C >= 0x520
97-
// # pragma error_messages (off,E_ARRAY_OF_INCOMPLETE_NONAME,E_ARRAY_OF_INCOMPLETE)
98-
// # endif
99-
// #endif
100-
93+
extern (C):
94+
nothrow:
10195

10296
static if (!is(typeof(OPENSSL_ECC_MAX_FIELD_BITS))) {
10397
enum OPENSSL_ECC_MAX_FIELD_BITS = 661;

0 commit comments

Comments
 (0)