Skip to content

Commit

Permalink
Use correct header file for blst_aux ABI (#179)
Browse files Browse the repository at this point in the history
The functions in `blst_aux_abi.nim` require `blst_aux.h` not `blst.h`.
  • Loading branch information
etan-status authored Aug 16, 2024
1 parent d5d595a commit 72d1980
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions blscurve/blst/blst_aux_abi.nim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# blst_aux.h lists unstable interfaces that might be promoted to blst.h depending on their worthiness
# This assumes blst_abi is included

const auxHeaderPath = currentSourcePath.rsplit({DirSep, AltSep}, 1)[0] & "/../../vendor/blst/bindings/blst.h"
const auxHeaderPath = currentSourcePath.rsplit({DirSep, AltSep}, 1)[0] & "/../../vendor/blst/bindings/blst_aux.h"

{.push cdecl, importc, header: headerPath.}

Expand All @@ -15,4 +15,3 @@ proc blst_derive_child_eip2333*(
child_index: uint32)

{.pop.}

0 comments on commit 72d1980

Please sign in to comment.