Commit 3755a5c9 authored by David Gobbi's avatar David Gobbi

Fix a few doxygen specials for the wrappers

The 'brief' special was only being handled at the beginning of a line,
and the 'warning' and 'sa' specials were not handled at all.  The wrappers
already understand a large number of doxygen specials, but not all of them.
parent d5014921
Pipeline #26707 passed with stage
......@@ -547,6 +547,8 @@ const char *vtkWrapText_FormatComment(
strncmp(&cp[l+1], "cmdparam", 8) == 0 ||
strncmp(&cp[l+1], "exception", 9) == 0 ||
strncmp(&cp[l+1], "return", 6) == 0 ||
strncmp(&cp[l+1], "warning", 7) == 0 ||
strncmp(&cp[l+1], "sa", 2) == 0 ||
strncmp(&cp[l+1], "li", 2) == 0)
{
nojoin = 2;
......@@ -743,6 +745,14 @@ const char *vtkWrapText_FormatComment(
i += 2;
j = text->len;
}
else if (strncmp(&cp[i+1], "brief", 5) == 0)
{
i += 6;
while (cp[i] == ' ' || cp[i] == '\r' || cp[i] == '\t')
{
i++;
}
}
else if (strncmp(&cp[i+1], "code", 4) == 0)
{
nojoin = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment