FastLED 3.9.7
Loading...
Searching...
No Matches
namespace.h
Go to the documentation of this file.
1
3
4#pragma once
5
6#if defined(FASTLED_FORCE_NAMESPACE) && !defined(FASTLED_IS_USING_NAMESPACE) && !defined(FASTLED_NAMESPACE)
7#define FASTLED_NAMESPACE fl
8#define FASTLED_IS_USING_NAMESPACE 1
9#endif
10
11#ifndef FASTLED_NAMESPACE
12#define FASTLED_IS_USING_NAMESPACE 0
14#define FASTLED_NAMESPACE_BEGIN
16#define FASTLED_NAMESPACE_END
18#define FASTLED_USING_NAMESPACE
19#else
20#define FASTLED_IS_USING_NAMESPACE 1
21#define FASTLED_NAMESPACE_BEGIN namespace FASTLED_NAMESPACE {
22#define FASTLED_NAMESPACE_END }
23
24// We need to create an empty instance of the namespace before we can
25// declare that we are using it.
28
29#define FASTLED_USING_NAMESPACE using namespace FASTLED_NAMESPACE;
30#endif
31
#define FASTLED_NAMESPACE_END
End of the FastLED namespace.
Definition namespace.h:16
#define FASTLED_NAMESPACE_BEGIN
Start of the FastLED namespace.
Definition namespace.h:14