scide: implement selectionLength for openDocument
[supercollider.git] / external_libraries / yaml-cpp-0.3.0 / include / yaml-cpp / null.h
blob711f18c33597b3566738341bae7f52522b2dc196
1 #ifndef NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
2 #define NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
4 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
5 #pragma once
6 #endif
9 #include "yaml-cpp/dll.h"
11 namespace YAML
13 class Node;
15 struct YAML_CPP_API _Null {};
16 inline bool operator == (const _Null&, const _Null&) { return true; }
17 inline bool operator != (const _Null&, const _Null&) { return false; }
19 YAML_CPP_API bool IsNull(const Node& node); // old API only
21 extern YAML_CPP_API _Null Null;
24 #endif // NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66