Fixed minor things that used the old API, compiles/links/runs\!

This commit is contained in:
beder
2011-09-10 22:59:27 -05:00
parent 24c55b434a
commit 2851f5f8c9
4 changed files with 12 additions and 1 deletions

View File

@@ -1,12 +1,17 @@
#include "yaml-cpp/null.h"
#if YAML_CPP_OLD_API
#include "yaml-cpp/node.h"
#endif
namespace YAML
{
_Null Null;
#if YAML_CPP_OLD_API
bool IsNull(const Node& node)
{
return node.Read(Null);
}
#endif
}