view R/rdyncall/R/utils_str.R @ 30:baf087cf5971

- fixed two ref counting problems - minor improvements
author Tassilo Philipp
date Fri, 10 Apr 2020 20:35:19 +0200
parents 0cfcc391201f
children
line wrap: on
line source

# Package: rdyncall
# File: R/utils_str.R
# Description: Support for (arrays of) C strings

ptr2str <- function(x) .Call("r_ptr2str", x, PACKAGE="rdyncall")
strarrayptr <- function(x) .Call("r_strarrayptr", x, PACKAGE="rdyncall")
strptr <- function(x) .Call("r_strptr", x, PACKAGE="rdyncall")