完善V1.4踢乒乓球版本
This commit is contained in:
1 parent
d14fe6c37b
commit
72455a5e76
1864 files changed
+19294
-218
No files matched your search
@@ -0,0 +1,31 @@
|
||||
/// @file namespace.h
|
||||
/// Implements the FastLED namespace macros
|
||||
|
||||
#pragma once
|
||||
|
||||
#if defined(FASTLED_FORCE_NAMESPACE) && \
|
||||
!defined(FASTLED_IS_USING_NAMESPACE) && !defined(FASTLED_NAMESPACE)
|
||||
#define FASTLED_NAMESPACE fl
|
||||
#define FASTLED_IS_USING_NAMESPACE 1
|
||||
#endif
|
||||
|
||||
#ifndef FASTLED_NAMESPACE
|
||||
#define FASTLED_IS_USING_NAMESPACE 0
|
||||
/// Start of the FastLED namespace
|
||||
#define FASTLED_NAMESPACE_BEGIN
|
||||
/// End of the FastLED namespace
|
||||
#define FASTLED_NAMESPACE_END
|
||||
/// "Using" directive for the namespace
|
||||
#define FASTLED_USING_NAMESPACE
|
||||
#else
|
||||
#define FASTLED_IS_USING_NAMESPACE 1
|
||||
#define FASTLED_NAMESPACE_BEGIN namespace FASTLED_NAMESPACE {
|
||||
#define FASTLED_NAMESPACE_END }
|
||||
|
||||
// We need to create an empty instance of the namespace before we can
|
||||
// declare that we are using it.
|
||||
FASTLED_NAMESPACE_BEGIN
|
||||
FASTLED_NAMESPACE_END
|
||||
|
||||
#define FASTLED_USING_NAMESPACE using namespace FASTLED_NAMESPACE;
|
||||
#endif
|
||||
Reference in new issue
Block a user