forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
int128: Tidy #includes of int128.h and int128_impl.h
After this commit, int128.h and int128_impl.h are included as follows: - .c files which use int128 include int128_impl.h (after util.h) - .h files which use int128 include int128.h (after util.h) This list is exhaustive. util.h needs to included first because it sets up necessary #defines.
- Loading branch information
1 parent
2914bcc
commit dceaa1f
Showing
8 changed files
with
31 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
#ifndef SECP256K1_INT128_IMPL_H | ||
#define SECP256K1_INT128_IMPL_H | ||
|
||
#include "int128.h" | ||
#include "util.h" | ||
|
||
#if defined HAVE_CONFIG_H | ||
#include "libsecp256k1-config.h" | ||
#endif | ||
#include "int128.h" | ||
|
||
#if defined(SECP256K1_INT128_NATIVE) | ||
#include "int128_native_impl.h" | ||
#elif defined(SECP256K1_INT128_STRUCT) | ||
#include "int128_struct_impl.h" | ||
#else | ||
#error "Please select int128 implementation" | ||
#if defined(SECP256K1_WIDEMUL_INT128) | ||
# if defined(SECP256K1_INT128_NATIVE) | ||
# include "int128_native_impl.h" | ||
# elif defined(SECP256K1_INT128_STRUCT) | ||
# include "int128_struct_impl.h" | ||
# else | ||
# error "Please select int128 implementation" | ||
# endif | ||
#endif | ||
|
||
#endif |
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