From: Tim Moore Date: Thu, 26 Nov 2009 09:38:31 +0000 (+0100) Subject: add a property debugging function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=45f1f9263fe62c2eb086a092c823f8308e55fea2;p=simgear.git add a property debugging function --- diff --git a/simgear/props/props_io.cxx b/simgear/props/props_io.cxx index 622ef367..48244c7b 100644 --- a/simgear/props/props_io.cxx +++ b/simgear/props/props_io.cxx @@ -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); +} + ////////////////////////////////////////////////////////////////////////