explain createModule()'s optional SGPropertyNode argument
This commit is contained in:
parent
52306b9093
commit
2ae061c9c3
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue