Arduino Helpers master
Utility library for Arduino
NamespaceSettings.hpp
Go to the documentation of this file.
1#pragma once
2
4
5#define USE_AH_NAMESPACE
6#define AH_NAMESPACE_NAME AH
7
8// ========================================================================== //
9
10#ifdef USE_AH_NAMESPACE
11#define BEGIN_AH_NAMESPACE \
12 AH_DIAGNOSTIC_WERROR() \
13 namespace AH_NAMESPACE_NAME {
14#define END_AH_NAMESPACE \
15 } \
16 AH_DIAGNOSTIC_POP()
17#define USING_AH_NAMESPACE using namespace AH_NAMESPACE_NAME
18#else
19#define BEGIN_AH_NAMESPACE
20#define END_AH_NAMESPACE
21#define USING_AH_NAMESPACE
22#endif