summaryrefslogtreecommitdiffstats
path: root/external_libs/cpp/yaml-cpp/src/null.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'external_libs/cpp/yaml-cpp/src/null.cpp')
-rwxr-xr-xexternal_libs/cpp/yaml-cpp/src/null.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/external_libs/cpp/yaml-cpp/src/null.cpp b/external_libs/cpp/yaml-cpp/src/null.cpp
new file mode 100755
index 00000000..08fa9aae
--- /dev/null
+++ b/external_libs/cpp/yaml-cpp/src/null.cpp
@@ -0,0 +1,12 @@
+#include "yaml-cpp/null.h"
+#include "yaml-cpp/node.h"
+
+namespace YAML
+{
+ _Null Null;
+
+ bool IsNull(const Node& node)
+ {
+ return node.Read(Null);
+ }
+}