From 1dddb18b4cc45106486c96b282f10658b17e3fd0 Mon Sep 17 00:00:00 2001 From: Leif Middelschulte Date: Mon, 28 May 2012 22:56:37 +0000 Subject: [PATCH] Fix return type assignment git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13134 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/c/c.swg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/c/c.swg b/Lib/c/c.swg index 726fd76c6..89fa3d6ac 100644 --- a/Lib/c/c.swg +++ b/Lib/c/c.swg @@ -330,10 +330,10 @@ else _temp[i] = (SwigObj*) 0; } - $result = _temp; + $result = ($1_ltype) _temp; } else - $result = (SwigObj**) 0; + $result = ($1_ltype) 0; } // typemaps for 'cppresult'