diff options
Diffstat (limited to 'Tools/bgen/bgen/bgenVariable.py')
-rw-r--r-- | Tools/bgen/bgen/bgenVariable.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Tools/bgen/bgen/bgenVariable.py b/Tools/bgen/bgen/bgenVariable.py index bc1199c..6edeb87 100644 --- a/Tools/bgen/bgen/bgenVariable.py +++ b/Tools/bgen/bgen/bgenVariable.py @@ -45,11 +45,12 @@ class Variable: elif self.flags != SelfMode: self.type.declare(self.name) - def getDeclarations(self): - """Return the unadorned declaration of the variable, - suitable for use in a formal parameter list.""" + def getArgDeclarations(self): refmode = (self.flags & RefMode) - return self.type.getDeclarations(self.name, reference=refmode) + return self.type.getArgDeclarations(self.name, reference=refmode) + + def getAuxDeclarations(self): + return self.type.getAuxDeclarations(self.name) def getargsFormat(self): """Call the type's getargsFormatmethod.""" |