R - Call to SWIG_createNewRef in copyToC was incorrectly named.

Closes #430
This commit is contained in:
William S Fulton 2015-06-12 20:23:56 +01:00
commit 1891b82e00
2 changed files with 5 additions and 2 deletions

View file

@ -62,7 +62,7 @@ function(className, ..., append = TRUE)
if(!isGeneric("copyToC"))
setGeneric("copyToC",
function(value, obj = RSWIG_createNewRef(class(value)))
function(value, obj = SWIG_createNewRef(class(value)))
standardGeneric("copyToC"
))
@ -147,4 +147,4 @@ function(fun, userData = NULL)
}
#######################################################################
#######################################################################