Description Declaration See Also
struct sxpinfo_struct
is a struct of 13 members:
SEXPTYPE type
unsigned int scalar
unsigned int obj
unsigned int alt
unsigned int gp
unsigned int mark
unsigned int debug
unsigned int trace
unsigned int spare
unsigned int gcgen
unsigned int gccls
unsigned int named
unsigned int extra
struct sxpinfo_struct
is used in the definition of SEXPREC_HEADER
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | struct sxpinfo_struct {
SEXPTYPE type : TYPE_BITS;
/* ==> (FUNSXP == 99) %% 2^5 == 3 == CLOSXP
* -> warning: `type' is narrower than values
* of its type
* when SEXPTYPE was an enum */
unsigned int scalar: 1;
unsigned int obj : 1;
unsigned int alt : 1;
unsigned int gp : 16;
unsigned int mark : 1;
unsigned int debug : 1;
unsigned int trace : 1; /* functions and memory tracing */
unsigned int spare : 1; /* used on closures and when REFCNT is defined */
unsigned int gcgen : 1; /* old generation number */
unsigned int gccls : 3; /* node class */
unsigned int named : NAMED_BITS;
unsigned int extra : 32 - NAMED_BITS; /* used for immediate bindings */
}; /* Tot: 64 */
|
In Rinternals.h.
SEXPTYPE, SEXPREC_HEADER, SEXPREC,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.