change to allow file SEXP return values
This commit is contained in:
parent
d0af4f50d3
commit
93b63969f9
2 changed files with 4 additions and 0 deletions
|
|
@ -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); %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue