-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bcadb86
commit f35e399
Showing
11 changed files
with
1,486 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// IMPLEMENTATION BUILD HEADER | ||
|
||
// We need uint128_t symbols as plain "extern", neither import nor export | ||
// because we're linking the 128 and 256 object files into a single library | ||
// So we can only have one export for symbol in any translation unit | ||
#define UINT256_T_EXTERN | ||
typedef __uint128_t uint128_t; | ||
#undef UINT256_T_EXTERN | ||
|
||
#ifndef _UNIT256_T_BUILD | ||
#define _UINT256_T_BUILD | ||
#include "uint256_t_config.include" | ||
const uint128_t uint128_0(0); | ||
const uint128_t uint128_1(1); | ||
#define UINT256_T_EXTERN _UINT256_T_EXPORT | ||
#endif | ||
#include "uint256_t.include" |
Oops, something went wrong.