corrected directorout warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
070993e828
commit
441efdb411
2 changed files with 4 additions and 4 deletions
|
|
@ -2872,8 +2872,8 @@ int PYTHON::classDirectorMethod(Node *n, Node *parent, String *super) {
|
||||||
Replaceall(tm, "$result", "c_result");
|
Replaceall(tm, "$result", "c_result");
|
||||||
Printv(w->code, tm, "\n", NIL);
|
Printv(w->code, tm, "\n", NIL);
|
||||||
} else {
|
} else {
|
||||||
Swig_warning(WARN_TYPEMAP_OUT_UNDEF, input_file, line_number,
|
Swig_warning(WARN_TYPEMAP_DIRECTOROUT_UNDEF, input_file, line_number,
|
||||||
"Unable to return type %s in director method %s::%s (skipping method).\n", SwigType_str(return_type, 0), classname, name);
|
"Unable to use return type %s in director method %s::%s (skipping method).\n", SwigType_str(return_type, 0), classname, name);
|
||||||
status = SWIG_ERROR;
|
status = SWIG_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2388,8 +2388,8 @@ public:
|
||||||
Replaceall(tm, "$result", "c_result");
|
Replaceall(tm, "$result", "c_result");
|
||||||
Printv(w->code, tm, "\n", NIL);
|
Printv(w->code, tm, "\n", NIL);
|
||||||
} else {
|
} else {
|
||||||
Swig_warning(WARN_TYPEMAP_OUT_UNDEF, input_file, line_number,
|
Swig_warning(WARN_TYPEMAP_DIRECTOROUT_UNDEF, input_file, line_number,
|
||||||
"Unable to return type %s in director method %s::%s (skipping method).\n", SwigType_str(return_type, 0), classname, name);
|
"Unable to use return type %s in director method %s::%s (skipping method).\n", SwigType_str(return_type, 0), classname, name);
|
||||||
status = SWIG_ERROR;
|
status = SWIG_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue