mirror of
https://github.com/status-im/secp256k1.git
synced 2025-02-23 11:18:15 +00:00
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.
19 lines
376 B
C
19 lines
376 B
C
#ifndef SECP256K1_INT128_IMPL_H
|
|
#define SECP256K1_INT128_IMPL_H
|
|
|
|
#include "util.h"
|
|
|
|
#include "int128.h"
|
|
|
|
#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
|