Commit 6a1df3bd authored by Victor Zverovich's avatar Victor Zverovich

Fix docs

parent 838400d2
...@@ -89,7 +89,9 @@ def build_docs(version='dev', **kwargs): ...@@ -89,7 +89,9 @@ def build_docs(version='dev', **kwargs):
FMT_USE_VARIADIC_TEMPLATES=1 \ FMT_USE_VARIADIC_TEMPLATES=1 \
FMT_USE_RVALUE_REFERENCES=1 \ FMT_USE_RVALUE_REFERENCES=1 \
FMT_USE_USER_DEFINED_LITERALS=1 \ FMT_USE_USER_DEFINED_LITERALS=1 \
FMT_API= FMT_API= \
FMT_BEGIN_NAMESPACE=namespace fmt { \
FMT_END_NAMESPACE=}
EXCLUDE_SYMBOLS = fmt::internal::* StringValue write_str EXCLUDE_SYMBOLS = fmt::internal::* StringValue write_str
'''.format(include_dir, doxyxml_dir).encode('UTF-8')) '''.format(include_dir, doxyxml_dir).encode('UTF-8'))
if p.returncode != 0: if p.returncode != 0:
......
...@@ -133,14 +133,16 @@ ...@@ -133,14 +133,16 @@
# define FMT_DTOR_NOEXCEPT FMT_NOEXCEPT # define FMT_DTOR_NOEXCEPT FMT_NOEXCEPT
#endif #endif
#if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_MSC_VER >= 1900 #ifndef FMT_BEGIN_NAMESPACE
# define FMT_INLINE_NAMESPACE inline namespace # if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_MSC_VER >= 1900
# define FMT_END_NAMESPACE }} # define FMT_INLINE_NAMESPACE inline namespace
#else # define FMT_END_NAMESPACE }}
# define FMT_INLINE_NAMESPACE namespace # else
# define FMT_END_NAMESPACE } using namespace v5; } # define FMT_INLINE_NAMESPACE namespace
# define FMT_END_NAMESPACE } using namespace v5; }
# endif
# define FMT_BEGIN_NAMESPACE namespace fmt { FMT_INLINE_NAMESPACE v5 {
#endif #endif
#define FMT_BEGIN_NAMESPACE namespace fmt { FMT_INLINE_NAMESPACE v5 {
#if !defined(FMT_HEADER_ONLY) && defined(_WIN32) #if !defined(FMT_HEADER_ONLY) && defined(_WIN32)
# ifdef FMT_EXPORT # ifdef FMT_EXPORT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment