5 Commits

Author SHA1 Message Date
Eugene Kabanov
ff0b47ed80
Fix GCC-14 [-Wincompatible-pointer-types] issue. (#58)
* Fix GCC-14 [-Wincompatible-pointer-types] issue.

* Add more fixes.

* More fixes.
2024-06-02 06:42:27 +03:00
Jacek Sieka
917b7274f9
work around C++ linking issue (#50)
* test c++ support, work around linking issue

* fix imports, don't test C++ after all
2023-08-16 12:47:15 +02:00
Jacek Sieka
a647994910
bump upstream (#41)
* fix carry propagation bug
* improved c++ compat
* new date range validation api
2022-12-08 21:34:21 +01:00
Jacek Sieka
2631f8473d
cross-compile-compatible paths (#31) 2022-06-24 20:09:06 +02:00
Jacek Sieka
c4aec8b664
split decls into separate modules in bearssl/abi (#27)
* split `decls.nim` into smaller modules - allows using parts of the ABI
without compiling all of `bearssl`
* deprecate functions with `Br` prefix - there are duplicate exports
both with and without `Br` for the same function and we use both in
consumers like `chronos` and `libp2p`
* fix several cases of incorrectly mapped types
* use `var` for certain arguments that can't be `nil`
* add script to regenerate ABI with `c2nim`
* consistently use `uint` for length (`int` was sometimes used)

The Split likely needs more cleanup work - this is a first cut to get
the idea in place.

In the new layout, `bearssl/abi/` contains "raw" nim mappings while
hand-written helpers are in `bearssl/`.
2022-06-14 19:33:00 +02:00