[Rd] [R-devel] what are labels in struct sxpinfo_struct from Rinternals.h mean?

PO SU rdevelmail at 163.com
Fri Aug 22 08:32:22 CEST 2014


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


More information about the R-devel mailing list