2021-09-26 15:24:15 +00:00
|
|
|
#pragma once
|
|
|
|
|
2021-10-03 14:40:10 +00:00
|
|
|
#define NS_BEGIN(Name) namespace Name {
|
|
|
|
#define NS_END(Name) }
|
|
|
|
#define NS_USING(Name) using namespace Name;
|
|
|
|
|
|
|
|
#define NS_REDCRAFT RFur
|
|
|
|
#define NS_REDCRAFT_BEGIN NS_BEGIN(NS_REDCRAFT)
|
|
|
|
#define NS_REDCRAFT_END NS_END(NS_REDCRAFT)
|
|
|
|
#define NS_REDCRAFT_USING NS_USING(NS_REDCRAFT)
|
|
|
|
|
2021-10-05 10:33:18 +00:00
|
|
|
#define NS_PRIVATE Private
|
|
|
|
#define NS_PRIVATE_BEGIN NS_BEGIN(NS_PRIVATE)
|
|
|
|
#define NS_PRIVATE_END NS_END(NS_PRIVATE)
|
|
|
|
|
2021-10-03 14:40:10 +00:00
|
|
|
#define NS_STD_BEGIN NS_BEGIN(std)
|
|
|
|
#define NS_STD_END NS_END(std)
|
|
|
|
#define NS_STD_USING NS_USING(std)
|
|
|
|
|
|
|
|
#define NS_UNNAMED_BEGIN namespace {
|
|
|
|
#define NS_UNNAMED_END }
|
2021-09-26 15:24:15 +00:00
|
|
|
|
|
|
|
NS_REDCRAFT_BEGIN
|
|
|
|
|
|
|
|
enum { INDEX_NONE = -1 };
|
|
|
|
enum { UNICODE_BOM = 0xfeff };
|
|
|
|
|
|
|
|
enum EForceInit { ForceInit };
|
|
|
|
|
|
|
|
NS_REDCRAFT_END
|