Matched the text for warnings 462 and 463 to that shown in the docs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
da34e63066
commit
1258f2e703
4 changed files with 7 additions and 7 deletions
|
|
@ -1052,7 +1052,7 @@ CHICKEN::variableWrapper(Node *n) {
|
|||
}
|
||||
else {
|
||||
Swig_warning(WARN_TYPEMAP_VAROUT_UNDEF, input_file, line_number,
|
||||
"Can't find varout with type %s\n", SwigType_str(t,0));
|
||||
"Unable to read variable of type %s\n", SwigType_str(t,0));
|
||||
}
|
||||
Printf(f->code,"\nC_kontinue (continuation, resultobj);\n");
|
||||
|
||||
|
|
@ -1269,7 +1269,7 @@ CHICKEN::constantWrapper(Node *n)
|
|||
}
|
||||
else {
|
||||
Swig_warning(WARN_TYPEMAP_VAROUT_UNDEF, input_file, line_number,
|
||||
"Can't find varout with type %s\n", SwigType_str(t,0));
|
||||
"Unable to read variable of type %s\n", SwigType_str(t,0));
|
||||
}
|
||||
Printf(f->code,"\nC_kontinue (continuation, resultobj);\n");
|
||||
|
||||
|
|
|
|||
|
|
@ -810,7 +810,7 @@ public:
|
|||
Printf(setf->code,"%s\n", tm);
|
||||
} else {
|
||||
Swig_warning(WARN_TYPEMAP_VARIN_UNDEF, input_file, line_number,
|
||||
"Unable to link with datatype %s (ignored).\n", SwigType_str(t,0));
|
||||
"Unable to set variable of type %s.\n", SwigType_str(t,0));
|
||||
return SWIG_NOWRAP;
|
||||
}
|
||||
Printf(setf->code," return 1;\n}\n");
|
||||
|
|
@ -833,7 +833,7 @@ public:
|
|||
Printf(getf->code,"%s\n", tm);
|
||||
} else {
|
||||
Swig_warning(WARN_TYPEMAP_VAROUT_UNDEF, input_file, line_number,
|
||||
"Unable to link with datatype %s (ignored).\n", SwigType_str(t,0));
|
||||
"Unable to read variable of type %s\n", SwigType_str(t,0));
|
||||
return SWIG_NOWRAP;
|
||||
}
|
||||
Printf(getf->code," return 1;\n}\n");
|
||||
|
|
|
|||
|
|
@ -1152,7 +1152,7 @@ public:
|
|||
Printf(getf->code,"%s\n", tm);
|
||||
} else {
|
||||
Swig_warning(WARN_TYPEMAP_VAROUT_UNDEF, input_file, line_number,
|
||||
"Unable to link with type %s\n", SwigType_str(t,0));
|
||||
"Unable to read variable of type %s\n", SwigType_str(t,0));
|
||||
}
|
||||
|
||||
Printf(getf->code," return pyobj;\n}\n");
|
||||
|
|
|
|||
|
|
@ -485,7 +485,7 @@ public:
|
|||
Wrapper_print(getf,f_wrappers);
|
||||
} else {
|
||||
Swig_warning(WARN_TYPEMAP_VAROUT_UNDEF, input_file, line_number,
|
||||
"Can't link to variable of type %s\n", SwigType_str(t,0));
|
||||
"Unable to read variable of type %s\n", SwigType_str(t,0));
|
||||
DelWrapper(getf);
|
||||
return SWIG_NOWRAP;
|
||||
}
|
||||
|
|
@ -513,7 +513,7 @@ public:
|
|||
if (setf) Wrapper_print(setf,f_wrappers);
|
||||
} else {
|
||||
Swig_warning(WARN_TYPEMAP_VARIN_UNDEF,input_file, line_number,
|
||||
"Variable %s will be read-only without a varin typemap.\n", name);
|
||||
"Unable to set variable of type %s.\n", SwigType_str(t,0));
|
||||
readonly = 1;
|
||||
}
|
||||
DelWrapper(setf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue