This allows you to split the summary on multiple lines
if necessary (for example to satisfy line limit)
@fix
}
if (is_newline(ls->current))
{
- while (is_newline(ls->current))
- next_line_ws(ls);
- break;
+ next_line_ws(ls);
+ if (is_newline(ls->current))
+ {
+ while (is_newline(ls->current))
+ next_line_ws(ls);
+ break;
+ }
+ else
+ eina_strbuf_append_char(ls->buff, ' ');
}
else
{
struct Foo {
[[This is struct Foo.
+ It does stuff.
This is a longer description for struct Foo.
fail_if(!(type = eolian_type_struct_get_by_name("Foo")));
fail_if(!(doc = eolian_type_documentation_get(type)));
fail_if(strcmp(eolian_documentation_summary_get(doc),
- "This is struct Foo."));
+ "This is struct Foo. It does stuff."));
fail_if(strcmp(eolian_documentation_description_get(doc),
"This is a longer description for struct Foo.\n\n"
"This is another paragraph."));