ArgPar-C v1.0.0-build
Simple and powerful Argument Parser for C
Loading...
Searching...
No Matches
APC_config.h
Go to the documentation of this file.
1#ifndef INCLUDE_ARGPAR_C_APC_CONFIG_H_
2#define INCLUDE_ARGPAR_C_APC_CONFIG_H_
3
4#ifdef __cplusplus
5# define __APC_CPP_GUARD_OPEN extern "C" {
6# define __APC_CPP_GUARD_CLOSE }
7#else
8# define __APC_CPP_GUARD_OPEN
9# define __APC_CPP_GUARD_CLOSE
10#endif // __cplusplus
11
13
14#define APC_STYLE_RESET "\033[0m"
15#define APC_STYLE_BOLD "\033[1m"
16#define APC_STYLE_ITALIC "\033[3m"
17#define APC_STYLE_UNDERLINE "\033[4m"
18#define APC_STYLE_STRIKETRHOUGH "\033[9m"
19
20#define APC_STYLECOLOR_TITLE "${245,245,245}" // rgb(245,245,245)
21#define APC_STYLECOLOR_OPTIONAL "${150,150,150}" // rgb(150,150,150)
22#define APC_STYLECOLOR_IMPORTANT "${255,71,76}" // rgb(255,71,76)
23#define APC_STYLECOLOR_WARNING "${255,255,40}" // rgb(255,255,40)
24
25#define APC_Declare_Pair(_first, _second, _name) \
26 typedef struct APC_Pair##_name \
27 { \
28 _first first; \
29 _second second; \
30 } APC_Pair##_name; \
31
33
34#undef __APC_CPP_GUARD_OPEN
35#undef __APC_CPP_GUARD_CLOSE
36
37#endif // INCLUDE_ARGPAR-C_APC_CONFIG_H_
#define __APC_CPP_GUARD_OPEN
Definition APC_config.h:5
#define __APC_CPP_GUARD_CLOSE
Definition APC_config.h:6