various fixes to remove warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6a03a2deb5
commit
dc12af75b6
21 changed files with 41 additions and 28 deletions
|
|
@ -1025,11 +1025,11 @@ public:
|
|||
|
||||
if (n && Getattr(n,"feature:callback")) {
|
||||
if (have_docstring(n)) {
|
||||
Printf(methods,"\"%s\\nswig_ptr: %s\"",
|
||||
Printf(methods,"(char *)\"%s\\nswig_ptr: %s\"",
|
||||
docstring(n, AUTODOC_FUNC, "", false),
|
||||
Getattr(n,"feature:callback:name"));
|
||||
} else {
|
||||
Printf(methods,"\"swig_ptr: %s\"",Getattr(n,"feature:callback:name"));
|
||||
Printf(methods,"(char *)\"swig_ptr: %s\"",Getattr(n,"feature:callback:name"));
|
||||
}
|
||||
} else {
|
||||
Printf(methods,"NULL");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue