Skip to content

Commit

Permalink
Merge pull request #445 from jtraglia/upgrade-blst
Browse files Browse the repository at this point in the history
Upgrade blst to v0.3.12
  • Loading branch information
asn-d6 authored Jun 27, 2024
2 parents b175a27 + 6e1ee62 commit 305dbb7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions bindings/go/blst_headers/blst.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ typedef __UINT64_TYPE__ uint64_t;
extern "C" {
#elif defined(__BLST_CGO__)
typedef _Bool bool; /* it's assumed that cgo calls modern enough compiler */
#elif defined(__STDC_VERSION__) && __STDC_VERSION__>=199901
# define bool _Bool
#else
# define bool int
#elif !defined(bool)
# if defined(__STDC_VERSION__) && __STDC_VERSION__>=199901
# define bool _Bool
# else
# define bool int
# endif
# define __blst_h_bool__
#endif

#ifdef SWIG
Expand Down Expand Up @@ -478,5 +481,8 @@ extern const blst_p2_affine BLS12_381_NEG_G2;

#ifdef __cplusplus
}
#elif defined(__blst_h_bool__)
# undef __blst_h_bool__
# undef bool
#endif
#endif
2 changes: 1 addition & 1 deletion blst
Submodule blst updated 153 files

0 comments on commit 305dbb7

Please sign in to comment.