X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fprops%2Fprops_io.cxx;h=48244c7b11ee7cea442681e0944638cd6828cbd0;hb=4fffcf9975be6559d9ca5eba257c9ebbb6dd541f;hp=622ef367a348de9d5e4922f175f5dd586c0ade4d;hpb=b905f4b8aa74d2178ae80f2f5d5323a649d63229;p=simgear.git 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); +} + ////////////////////////////////////////////////////////////////////////