DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(guile.info.gz) Heap Cell Type Information

Info Catalog (guile.info.gz) Non-immediate objects (guile.info.gz) Unpacking the SCM type (guile.info.gz) Accessing Cell Entries
 
 18.2.7.4 Heap Cell Type Information
 ...................................
 
 Heap cells contain a number of entries, each of which is either a scheme
 object of type `SCM' or a raw C value of type `scm_t_bits'.  Which of
 the cell entries contain Scheme objects and which contain raw C values
 is determined by the first entry of the cell, which holds the cell type
 information.
 
  -- Macro: scm_t_bits SCM_CELL_TYPE (SCM X)
      For a non-immediate Scheme object X, deliver the content of the
      first entry of the heap cell referenced by X.  This value holds
      the information about the cell type.
 
  -- Macro: void SCM_SET_CELL_TYPE (SCM X, scm_t_bits T)
      For a non-immediate Scheme object X, write the value T into the
      first entry of the heap cell referenced by X.  The value T must
      hold a valid cell type.
 
Info Catalog (guile.info.gz) Non-immediate objects (guile.info.gz) Unpacking the SCM type (guile.info.gz) Accessing Cell Entries
automatically generated byinfo2html