2020-01-04 14:21:38 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
//# Note: most of these would be included transitively but
|
|
|
|
//# they're listed explicitly here because this file
|
|
|
|
//# is used as the source for generate_single_header.py.
|
|
|
|
|
|
|
|
#include "toml_common.h"
|
2020-01-07 15:52:50 +00:00
|
|
|
#include "toml_print_to_stream.h"
|
2020-01-04 14:21:38 +00:00
|
|
|
#include "toml_node.h"
|
|
|
|
#include "toml_table.h"
|
|
|
|
#include "toml_array.h"
|
|
|
|
#include "toml_value.h"
|
|
|
|
#include "toml_utf8.h"
|
|
|
|
#include "toml_node_view.h"
|
|
|
|
#include "toml_parser.h"
|
|
|
|
#include "toml_formatter.h"
|
2020-01-06 18:21:16 +00:00
|
|
|
#include "toml_default_formatter.h"
|
|
|
|
#include "toml_json_formatter.h"
|
2020-01-04 14:21:38 +00:00
|
|
|
|
|
|
|
//macro hygiene
|
|
|
|
#if TOML_UNDEF_MACROS
|
|
|
|
#undef TOML_EXCEPTIONS
|
|
|
|
#undef TOML_USE_STREAMS_FOR_FLOATS
|
2020-01-07 15:52:50 +00:00
|
|
|
#undef TOML_GCC_ATTR
|
2020-01-04 14:21:38 +00:00
|
|
|
#undef TOML_PUSH_WARNINGS
|
2020-01-07 15:52:50 +00:00
|
|
|
#undef TOML_DISABLE_SWITCH_WARNINGS
|
|
|
|
#undef TOML_DISABLE_INIT_WARNINGS
|
2020-01-04 14:21:38 +00:00
|
|
|
#undef TOML_DISABLE_ALL_WARNINGS
|
|
|
|
#undef TOML_POP_WARNINGS
|
|
|
|
#undef TOML_ALWAYS_INLINE
|
|
|
|
#undef TOML_ASSUME
|
|
|
|
#undef TOML_UNREACHABLE
|
|
|
|
#undef TOML_INTERFACE
|
|
|
|
#undef TOML_EMPTY_BASES
|
2020-01-07 15:52:50 +00:00
|
|
|
#undef TOML_CPP_VERSION
|
2020-01-04 14:21:38 +00:00
|
|
|
#undef TOML_CPP
|
|
|
|
#undef TOML_CONDITIONAL_NOEXCEPT
|
|
|
|
#undef TOML_MAY_THROW
|
|
|
|
#undef TOML_NO_DEFAULT_CASE
|
|
|
|
#undef TOML_CONSTEVAL
|
|
|
|
#undef TOML_LIKELY
|
|
|
|
#undef TOML_UNLIKELY
|
|
|
|
#undef TOML_NO_UNIQUE_ADDRESS
|
|
|
|
#undef TOML_NODISCARD_CTOR
|
2020-01-06 18:21:16 +00:00
|
|
|
#undef TOML_MAKE_VERSION
|
2020-01-04 14:21:38 +00:00
|
|
|
#undef TOML_LANG_EFFECTIVE_VERSION
|
|
|
|
#undef TOML_LANG_HIGHER_THAN
|
|
|
|
#undef TOML_LANG_AT_LEAST
|
|
|
|
#undef TOML_LANG_EXACTLY
|
|
|
|
#undef TOML_STRING_PREFIX_1
|
|
|
|
#undef TOML_STRING_PREFIX
|
|
|
|
#undef TOML_UNDEF_MACROS
|
|
|
|
#endif
|