-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpz_config.h.in
More file actions
43 lines (37 loc) · 878 Bytes
/
pz_config.h.in
File metadata and controls
43 lines (37 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* Plasma bytecode execution configuration.
* vim: ts=4 sw=4 et
*
* Copyright (C) 2015, 2021 Plasma Team
* Distributed under the terms of the MIT license, see ../LICENSE.code
*/
#ifndef PZ_CONFIG_H
#define PZ_CONFIG_H
#define PLASMA_VERSION @VERSION@
#if PLASMA_VERSION == dev
#define PLASMA_VERSION_STRING "development version"
#else
#define PLASMA_VERSION_STRING "@VERSION@"
#endif
/*
* Either 32 or 64 bit
*/
#define PZ_FAST_INTEGER_WIDTH 32
#define PZ_FAST_INTEGER_TYPE int32_t
#define PZ_FAST_UINTEGER_TYPE uint32_t
/*
* Debugging
*/
#ifdef DEBUG
#else
#define NDEBUG
#endif
/*
* Runtime error exit codes
*/
// Fatal errors, the program didn't run or was aborted.
#define PZ_EXIT_RUNTIME_ERROR 255
// Non-fatal, the program terminated but there was a warning or error during
// clean-up.
#define PZ_EXIT_RUNTIME_NONFATAL 254
#endif /* ! PZ_CONFIG_H */