Ensure doxygen comments are copied to overloaded function nodes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@10842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d7f2ceedd4
commit
0f41d25c09
1 changed files with 4 additions and 0 deletions
|
|
@ -1363,6 +1363,10 @@ static void default_arguments(Node *n) {
|
|||
if (throws) Setattr(new_function,"throws",pl);
|
||||
Delete(pl);
|
||||
}
|
||||
|
||||
/* copy doxygen comments if found */
|
||||
if(Getattr(function,"DoxygenComment"))
|
||||
Setattr(new_function,"DoxygenComment",Getattr(function,"DoxygenComment"));
|
||||
|
||||
/* copy specific attributes for global (or in a namespace) template functions - these are not templated class methods */
|
||||
if (strcmp(cntype,"template") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue