manual: Undocumented return defaults to error enum

This commit is contained in:
Stephen Sherratt 2017-05-24 17:10:32 +10:00
parent c2ca76a3eb
commit 447e924337

View file

@ -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.