From 1c4c1b13d8fc30dd19d546621de2a32ae274c4fc Mon Sep 17 00:00:00 2001 From: Leif Middelschulte Date: Mon, 23 Jul 2012 10:35:15 +0000 Subject: [PATCH] Fix proxy return type namespacing git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13341 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/c.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Modules/c.cxx b/Source/Modules/c.cxx index 0fe69e250..46117c9ca 100644 --- a/Source/Modules/c.cxx +++ b/Source/Modules/c.cxx @@ -713,6 +713,9 @@ ready: else { Swig_warning(WARN_C_TYPEMAP_CTYPE_UNDEF, input_file, line_number, "No couttype typemap defined for %s\n", SwigType_str(type, 0)); } + + Replaceall(return_type, "::", "_"); + return return_type; }