Split the yaml.h file into new/old API, which we'll then copy to yaml.h at build time (so the right one gets installed)

This commit is contained in:
Jesse Beder
2011-10-18 00:16:51 -05:00
parent ee795d7e3e
commit e69f51ee16
5 changed files with 32 additions and 16 deletions

View File

@@ -16,9 +16,7 @@ namespace YAML
inline bool operator == (const _Null&, const _Null&) { return true; }
inline bool operator != (const _Null&, const _Null&) { return false; }
#if YAML_CPP_OLD_API
YAML_CPP_API bool IsNull(const Node& node);
#endif
YAML_CPP_API bool IsNull(const Node& node); // old API only
extern YAML_CPP_API _Null Null;
}