manual: Undocumented return defaults to error enum
This commit is contained in:
parent
c2ca76a3eb
commit
447e924337
1 changed files with 2 additions and 0 deletions
|
|
@ -802,6 +802,8 @@ def parse_xml_file(input_file, valid_types):
|
|||
method_return_description = method.getElementsByTagName("return")
|
||||
if method_return_description:
|
||||
comment_lines.append("@return @xmlonly %s @endxmlonly" % get_xml_element_contents(method_return_description[0]))
|
||||
else:
|
||||
comment_lines.append("@return @xmlonly <errorenumdesc/> @endxmlonly")
|
||||
|
||||
#
|
||||
# Get parameters.
|
||||
|
|
|
|||
Loading…
Reference in a new issue