carl
24.04
Computer ARithmetic Library
carl-checkpoints.h
Go to the documentation of this file.
1
/**
2
* @file
3
*
4
* A small wrapper that makes using checkpoints easier in carl.
5
*
6
*
7
* Note that this header should *not* be included if you want to use the carl
8
* checkpoints facilities yourself. To do that, include Checkpoints.h and create
9
* checkpoints macros like below for your own application.
10
*
11
*/
12
13
#pragma once
14
15
#include "config.h"
16
#include "
Checkpoints.h
"
17
18
namespace
carl
{
19
namespace
checkpoints {
20
21
#ifdef CARL_DEVOPTION_Checkpoints
22
#define CARL_ADD_CHECKPOINT(channel,description,forced,...) carl::checkpoints::CheckpointVerifier::getInstance().push(channel, description, forced, __VA_ARGS__);
23
#define CARL_CHECKPOINT(channel,description,...) carl::checkpoints::CheckpointVerifier::getInstance().expect(channel, description, __VA_ARGS__);
24
#define CARL_CLEAR_CHECKPOINT(channel) carl::checkpoints::CheckpointVerifier::getInstance().clear(channel);
25
#else
26
#define CARL_ADD_CHECKPOINT(channel,description,forced,...)
27
#define CARL_CHECKPOINT(channel,description,...)
28
#define CARL_CLEAR_CHECKPOINT(channel)
29
#endif
30
31
32
33
}
34
}
Checkpoints.h
carl
carl is the main namespace for the library.
carl-checkpoints
carl-checkpoints.h
Generated by
1.9.1