From 6fb95e7e971101b46999336a9ab9c2bbe4fd93ff Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 29 Nov 2021 15:45:38 +0100 Subject: [PATCH] Fix wording of another error message Don't use "reference return type" for the typemap used for returning objects by value. --- Source/Modules/c.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/c.cxx b/Source/Modules/c.cxx index b9abf79a9..80588ce67 100644 --- a/Source/Modules/c.cxx +++ b/Source/Modules/c.cxx @@ -932,7 +932,7 @@ private: ); Append(rtype_desc->wrap_end(), ")"); } else { - Swig_error(input_file, line_number, "Unknown reference return type \"%s\"\n", typestr.get()); + Swig_error(input_file, line_number, "Unknown object return type \"%s\"\n", typestr.get()); } }