aboutsummaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorjoequant <joequant@gmail.com>2013-07-14 20:28:17 +0800
committerjoequant <joequant@gmail.com>2013-07-14 20:28:17 +0800
commit93b63969f9b70895ee1d841c66f414b1be46e90d (patch)
tree97b7aa71c6259af45cec5da5f291adb16fd3e714 /Lib
parentd0af4f50d301cd971e7dadf1e48a5b5c8c66e4b4 (diff)
downloadswig-93b63969f9b70895ee1d841c66f414b1be46e90d.tar.gz
change to allow file SEXP return values
Diffstat (limited to 'Lib')
-rw-r--r--Lib/r/rtype.swg2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/r/rtype.swg b/Lib/r/rtype.swg
index b4571af46..b86a618d9 100644
--- a/Lib/r/rtype.swg
+++ b/Lib/r/rtype.swg
@@ -151,6 +151,8 @@ string &, std::string &
#%typemap(scoerceout) SWIGTYPE *const
# %{ class($result) <- "$R_class"; %}
+ %typemap(scoerceout) SEXP %{ %}
+
%typemap(scoerceout) SWIGTYPE
%{ $result <- new("$&R_class", ref=$result); %}