[Rd] R strings, null-terminated or size delimited?

From: Guillaume Yziquel <guillaume.yziquel_at_citycable.ch>
Date: Sat, 21 Nov 2009 22:12:59 +0100


Hello.

I've been looking at vecsexps for my binding.

Concerning strings, I'm wondering: are they supposed to be null-delimited? Are they delimited by the info in the SEXPHEADER macro in Rinternals.h?

Basically, what are the macros or functions to access the values of the vecsexps? I'm thinking of CHARSXPs and INTSXPs for the moment...

All the best,

-- 
      Guillaume Yziquel
http://yziquel.homelinux.org/

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sat 21 Nov 2009 - 21:15:40 GMT

This archive was generated by hypermail 2.2.0 : Sun 22 Nov 2009 - 01:00:37 GMT