#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
Go to the source code of this file.
◆ CHECK
Value:do { \
        TEST_FAILURE("test condition failed: " #cond); \
    } \
} while(0)
 
Definition at line 52 of file util.h.
 
 
◆ EXPECT
      
        
          | #define EXPECT | 
          ( | 
            | 
          x,  | 
        
        
           | 
           | 
            | 
          c  | 
        
        
           | 
          ) | 
           |    (x) | 
        
      
 
 
◆ I64FORMAT
◆ I64uFORMAT
◆ SECP256K1_RESTRICT
      
        
          | #define SECP256K1_RESTRICT | 
        
      
 
 
◆ TEST_FAILURE
      
        
          | #define TEST_FAILURE | 
          ( | 
            | 
          msg | ) | 
           | 
        
      
 
Value:do { \
    fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, msg); \
    abort(); \
} while(0)
 
Definition at line 33 of file util.h.
 
 
◆ VERIFY_CHECK
      
        
          | #define VERIFY_CHECK | 
          ( | 
            | 
          cond | ) | 
             do { (void)(cond); } while(0) | 
        
      
 
 
◆ VERIFY_SETUP
      
        
          | #define VERIFY_SETUP | 
          ( | 
            | 
          stmt | ) | 
           |