From e707c456ef9bca78b75b807384da577a8aead817 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Tue, 18 Oct 2005 14:16:22 +0000 Subject: [PATCH] fix for template types git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7680 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/typemaps/implicit.swg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/typemaps/implicit.swg b/Lib/typemaps/implicit.swg index 857dcda0f..7fbe09d55 100644 --- a/Lib/typemaps/implicit.swg +++ b/Lib/typemaps/implicit.swg @@ -46,9 +46,9 @@ %define %implicit_frag(Type...) ,fragment=SWIG_Traits_frag(Type) %enddef %define %implicit_code(Type...) - if (swig::asval(obj, 0)) { + if (swig::asval(obj, 0)) { Type _v; - swig::asval(obj, &_v); + swig::asval(obj, &_v); if (val) *val = new value_type(_v); return SWIG_NEWOBJ; }