1
0
Fork 0

explain createModule()'s optional SGPropertyNode argument

This commit is contained in:
mfranz 2006-04-27 16:40:04 +00:00
parent 52306b9093
commit 2ae061c9c3

View file

@ -481,7 +481,9 @@ void FGNasalSys::loadModule(SGPath file, const char* module)
}
// Parse and run. Save the local variables namespace, as it will
// become a sub-object of globals.
// become a sub-object of globals. The optional "arg" argument can be
// used to pass an associated property node to the module, which can then
// be accessed via cmdarg(). (This is, for example, used by XML dialogs.)
void FGNasalSys::createModule(const char* moduleName, const char* fileName,
const char* src, int len, const SGPropertyNode* arg)
{