2010-10-18 07:05:53 +00:00
|
|
|
#include "yaml-cpp/null.h"
|
2011-09-10 22:59:27 -05:00
|
|
|
|
|
|
|
|
#if YAML_CPP_OLD_API
|
2010-10-18 07:05:53 +00:00
|
|
|
#include "yaml-cpp/node.h"
|
2011-09-10 22:59:27 -05:00
|
|
|
#endif
|
2009-07-30 04:42:27 +00:00
|
|
|
|
|
|
|
|
namespace YAML
|
|
|
|
|
{
|
|
|
|
|
_Null Null;
|
2009-07-31 05:07:21 +00:00
|
|
|
|
2011-09-10 22:59:27 -05:00
|
|
|
#if YAML_CPP_OLD_API
|
2009-07-31 05:07:21 +00:00
|
|
|
bool IsNull(const Node& node)
|
|
|
|
|
{
|
|
|
|
|
return node.Read(Null);
|
|
|
|
|
}
|
2011-09-10 22:59:27 -05:00
|
|
|
#endif
|
2009-07-30 04:42:27 +00:00
|
|
|
}
|