mirror of
https://github.com/logos-storage/nim-bearssl.git
synced 2026-01-05 23:13:06 +00:00
fix raises in imported C functions
This commit is contained in:
parent
924fb6cad1
commit
68c6d27304
@ -371,7 +371,7 @@ when sizeof(int) == 8:
|
|||||||
{.compile: bearToolsPath & "certs.c".}
|
{.compile: bearToolsPath & "certs.c".}
|
||||||
{.compile: bearToolsPath & "files.c".}
|
{.compile: bearToolsPath & "files.c".}
|
||||||
|
|
||||||
{.pragma: bearSslFunc, cdecl, gcsafe, noSideEffect.}
|
{.pragma: bearSslFunc, cdecl, gcsafe, noSideEffect, raises: [].}
|
||||||
|
|
||||||
type
|
type
|
||||||
HashClass* {.importc: "br_hash_class", header: "bearssl_hash.h", bycopy.} = object
|
HashClass* {.importc: "br_hash_class", header: "bearssl_hash.h", bycopy.} = object
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user