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
|
|
@ -1364,6 +1364,10 @@ static void default_arguments(Node *n) {
|
||||||
Delete(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 */
|
/* copy specific attributes for global (or in a namespace) template functions - these are not templated class methods */
|
||||||
if (strcmp(cntype,"template") == 0) {
|
if (strcmp(cntype,"template") == 0) {
|
||||||
Node *templatetype = Getattr(function,"templatetype");
|
Node *templatetype = Getattr(function,"templatetype");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue