[Rd] [R-devel] what are labels in struct sxpinfo_struct from Rinternals.h mean?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Aug 22 09:15:08 CEST 2014
Once again[*], you really should study the posting guide. The
documentation is the 'R Internals manual', and it does cover this.
fortunes::fortune(14) applies.
[*] After two postings on R-help which ignored it, one reply to which
pointed out this manual.
On 22/08/2014 07:32, PO SU wrote:
>
> Dear Rdevelers,
> The following struct is in the Rinternals.h. I want to know the meanings of labels or names like "gp,mark,obj,named,trace....." . TKS!
>
>
> struct sxpinfo_struct {
> SEXPTYPE type : 5;/* ==> (FUNSXP == 99) %% 2^5 == 3 == CLOSXP
> * -> warning: `type' is narrower than values
> * of its type
> * when SEXPTYPE was an enum */
> unsigned int obj : 1;
> unsigned int named : 2;
> unsigned int gp : 16;
> unsigned int mark : 1;
> unsigned int debug : 1;
> unsigned int trace : 1; /* functions and memory tracing */
> unsigned int spare : 1; /* currently unused */
> unsigned int gcgen : 1; /* old generation number */
> unsigned int gccls : 3; /* node class */
> }; /* Tot: 32 */
>
>
>
>
> --
>
> PO SU
> mail: desolator88 at 163.com
> Majored in Statistics from SJTU
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
1 South Parks Road, Oxford OX1 3TG, UK
More information about the R-devel
mailing list