mirror of https://github.com/swig/swig
C# remove empty xml documentation comments
This looks like code copied from python which supports autodoc and docstring features. C# does not support these features.
This commit is contained in:
parent
1349ea7394
commit
9b46cbc061
|
@ -4734,12 +4734,15 @@ public:
|
||||||
*--------------------------------------------------------------------*/
|
*--------------------------------------------------------------------*/
|
||||||
|
|
||||||
bool have_docstring(Node *n) {
|
bool have_docstring(Node *n) {
|
||||||
|
/* autodoc and docstring features not supported in C#
|
||||||
String *str = Getattr(n, "feature:docstring");
|
String *str = Getattr(n, "feature:docstring");
|
||||||
|
|
||||||
return ((str && Len(str) > 0)
|
return ((str && Len(str) > 0)
|
||||||
|| (Getattr(n, "feature:autodoc") && !GetFlag(n, "feature:noautodoc"))
|
|| (Getattr(n, "feature:autodoc") && !GetFlag(n, "feature:noautodoc"))
|
||||||
|| (doxygen && doxygenTranslator->hasDocumentation(n))
|
|| (doxygen && doxygenTranslator->hasDocumentation(n))
|
||||||
);
|
);
|
||||||
|
*/
|
||||||
|
return doxygen && doxygenTranslator->hasDocumentation(n);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ------------------------------------------------------------
|
/* ------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue