add a property debugging function

This commit is contained in:
Tim Moore
2009-11-26 10:38:31 +01:00
parent b8a6d1ac4d
commit 45f1f9263f

View File

@@ -602,6 +602,13 @@ writeProperties (const string &file, const SGPropertyNode * start_node,
}
}
// Another variation, useful when called from gdb
void
writeProperties (const char* file, const SGPropertyNode * start_node)
{
writeProperties(string(file), start_node, true);
}
////////////////////////////////////////////////////////////////////////