def Process (self):
for func in self.functions_list:
- method = func.name
if func.status == "deprecated":
continue
+ method = func.name
+ if func.status == 'legacy':
+ method += "-legacy"
+
(min_args, max_args, defaults) = func.args()
section = Element('section')
- section.setAttribute('id', func.name)
- section.appendChild(simpleElement('title', func.name))
+ section.setAttribute('id', method)
+ section.appendChild(simpleElement('title', method))
prototype = "%s (%s)" % (method, ", ".join(max_args))
para = paraElement('Prototype:')