mirror of
https://github.com/boostorg/geometry.git
synced 2026-01-30 20:02:11 +00:00
[doc] Format "unspecified" functions return type in a special way in doxygen_xml2qbk alt output synopsis.
This commit is contained in:
@@ -996,13 +996,19 @@ void quickbook_synopsis_alt(function const& f, std::ostream& out)
|
||||
offset += f.name.size();
|
||||
break;
|
||||
case function_member :
|
||||
inline_str_with_links(f.return_type, out);
|
||||
out << " `" << f.name << "`";
|
||||
offset += f.return_type_without_links.size() + 1 + f.name.size();
|
||||
break;
|
||||
case function_free :
|
||||
inline_str_with_links(f.definition, out);
|
||||
offset += f.definition.size();
|
||||
if ( f.return_type == "unspecified" )
|
||||
{
|
||||
out << "/unspecified/";
|
||||
offset += 11;
|
||||
}
|
||||
else
|
||||
{
|
||||
inline_str_with_links(f.return_type, out);
|
||||
offset += f.return_type_without_links.size();
|
||||
}
|
||||
out << " `" << f.name << "`";
|
||||
offset += 1 + f.name.size();
|
||||
break;
|
||||
case function_define :
|
||||
out << "`#define " << f.name << "`";
|
||||
|
||||
Reference in New Issue
Block a user