From 5993327dc0ac35431cec6873d426eb83d4e0ad74 Mon Sep 17 00:00:00 2001 From: Joseph Wang Date: Sat, 26 Apr 2008 19:40:07 +0000 Subject: [PATCH] remove numeric coercion which seems to be unnecessary git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10394 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/r/rtype.swg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/r/rtype.swg b/Lib/r/rtype.swg index 6479a0d64..60efcc6eb 100644 --- a/Lib/r/rtype.swg +++ b/Lib/r/rtype.swg @@ -82,7 +82,7 @@ %typemap(scoercein) bool, bool *, bool & "$input = as.logical($input) "; - +/* %typemap(scoercein) int, int *, int &, @@ -119,7 +119,7 @@ long*, long long * %{ $input = as.numeric($input) %} - +*/ %typemap(scoercein) char *, string, std::string, string &, std::string &