#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <limits.h>
Go to the source code of this file.
◆ __has_builtin
| #define __has_builtin |
( |
|
x | ) |
0 |
◆ ALIGNMENT
◆ CHECK
Value:do { \
TEST_FAILURE("test condition failed: " #cond); \
} \
} while(0)
Definition at line 81 of file util.h.
◆ DEBUG_CONFIG_DEF
◆ DEBUG_CONFIG_MSG
| #define DEBUG_CONFIG_MSG |
( |
|
x | ) |
"DEBUG_CONFIG: " x |
◆ EXPECT
| #define EXPECT |
( |
|
x, |
|
|
|
c |
|
) |
| (x) |
◆ I64FORMAT
◆ I64uFORMAT
◆ ROUND_TO_ALIGN
◆ SECP256K1_GNUC_EXT
| #define SECP256K1_GNUC_EXT |
◆ SECP256K1_RESTRICT
| #define SECP256K1_RESTRICT |
◆ SECP256K1_WIDEMUL_INT64
| #define SECP256K1_WIDEMUL_INT64 1 |
◆ STR
◆ STR_
◆ TEST_FAILURE
| #define TEST_FAILURE |
( |
|
msg | ) |
|
Value:do { \
fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, msg); \
abort(); \
} while(0)
Definition at line 62 of file util.h.
◆ VERIFY_CHECK
| #define VERIFY_CHECK |
( |
|
cond | ) |
do { (void)(cond); } while(0) |
◆ VERIFY_SETUP
| #define VERIFY_SETUP |
( |
|
stmt | ) |
|