Add patch #2128249 from Anatoly Techtonik which corrects the C/C++ proxy class being reported for Python docstrings when %rename is used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a604f46593
commit
04a1d9182f
2 changed files with 6 additions and 2 deletions
|
|
@ -1341,9 +1341,9 @@ public:
|
|||
String *str = Getattr(n, "feature:docstring");
|
||||
if (str == NULL || Len(str) == 0) {
|
||||
if (CPlusPlus) {
|
||||
Printf(doc, "Proxy of C++ %s class", class_name);
|
||||
Printf(doc, "Proxy of C++ %s class", real_classname);
|
||||
} else {
|
||||
Printf(doc, "Proxy of C %s struct", class_name);
|
||||
Printf(doc, "Proxy of C %s struct", real_classname);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue