File indexing completed on 2025-01-18 09:27:16
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef ABSL_FLAGS_CONFIG_H_
0017 #define ABSL_FLAGS_CONFIG_H_
0018
0019
0020
0021 #if !defined(ABSL_FLAGS_STRIP_NAMES)
0022
0023 #if defined(__ANDROID__)
0024 #define ABSL_FLAGS_STRIP_NAMES 1
0025
0026 #elif defined(__APPLE__)
0027 #include <TargetConditionals.h>
0028 #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
0029 #define ABSL_FLAGS_STRIP_NAMES 1
0030 #elif defined(TARGET_OS_EMBEDDED) && TARGET_OS_EMBEDDED
0031 #define ABSL_FLAGS_STRIP_NAMES 1
0032 #endif
0033 #endif
0034
0035 #endif
0036
0037 #if !defined(ABSL_FLAGS_STRIP_NAMES)
0038
0039
0040 #define ABSL_FLAGS_STRIP_NAMES 0
0041 #endif
0042
0043 #if !defined(ABSL_FLAGS_STRIP_HELP)
0044
0045 #define ABSL_FLAGS_STRIP_HELP ABSL_FLAGS_STRIP_NAMES
0046 #endif
0047
0048
0049
0050 #define ABSL_FLAGS_INTERNAL_BUILTIN_TYPES(A) \
0051 A(bool, bool) \
0052 A(short, short) \
0053 A(unsigned short, unsigned_short) \
0054 A(int, int) \
0055 A(unsigned int, unsigned_int) \
0056 A(long, long) \
0057 A(unsigned long, unsigned_long) \
0058 A(long long, long_long) \
0059 A(unsigned long long, unsigned_long_long) \
0060 A(double, double) \
0061 A(float, float)
0062
0063 #define ABSL_FLAGS_INTERNAL_SUPPORTED_TYPES(A) \
0064 ABSL_FLAGS_INTERNAL_BUILTIN_TYPES(A) \
0065 A(std::string, std_string) \
0066 A(std::vector<std::string>, std_vector_of_string)
0067
0068 #endif