From 1258f2e70306a3fe4b9ea2002e57c4712c48cfcd Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 1 Jun 2003 22:53:38 +0000 Subject: [PATCH] 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 --- Source/Modules/chicken.cxx | 4 ++-- Source/Modules/perl5.cxx | 4 ++-- Source/Modules/python.cxx | 2 +- Source/Modules/tcl8.cxx | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/Modules/chicken.cxx b/Source/Modules/chicken.cxx index 8c5df0a94..1ea7002f5 100644 --- a/Source/Modules/chicken.cxx +++ b/Source/Modules/chicken.cxx @@ -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"); diff --git a/Source/Modules/perl5.cxx b/Source/Modules/perl5.cxx index 94191080d..0af7d7bc3 100644 --- a/Source/Modules/perl5.cxx +++ b/Source/Modules/perl5.cxx @@ -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"); diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index 48689c14e..8aba3d175 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -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"); diff --git a/Source/Modules/tcl8.cxx b/Source/Modules/tcl8.cxx index 0f9738715..ac62ecf5c 100644 --- a/Source/Modules/tcl8.cxx +++ b/Source/Modules/tcl8.cxx @@ -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);