1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 12:20:26 +02:00

* continuations.h, unif.h: in the descriptions of the bit patterns

of the heap cells, make bit 0 the least significant.
This commit is contained in:
Gary Houston 2001-10-03 20:49:45 +00:00
parent 7fb78f5adb
commit b856b51a4c
3 changed files with 12 additions and 7 deletions

View file

@ -1,3 +1,8 @@
2001-10-03 Gary Houston <ghouston@arglist.com>
* continuations.h, unif.h: in the descriptions of the bit patterns
of the heap cells, make bit 0 the least significant.
2001-09-25 Thien-Thi Nguyen <ttn@glug.org>
* chars.h (SCM_MAKE_CHAR): Use `scm_t_bits' instead of `intptr_t'.

View file

@ -48,8 +48,8 @@
/* a continuation SCM is a non-immediate pointing to a heap cell with:
word 0: bits 0-15: unused.
bits 16-31: smob type tag: scm_tc16_continuation.
word 0: bits 0-15: smob type tag: scm_tc16_continuation.
bits 16-31: unused.
word 1: malloc block containing an scm_t_contregs structure with a
tail array of SCM_STACKITEM. the size of the array is stored
in the num_stack_items field of the structure.

View file

@ -50,12 +50,12 @@
/*
an array SCM is a non-immediate pointing to a heap cell with:
an array SCM is a non-immediate pointing to a heap cell where:
CAR: bits 0-14 hold the dimension (0 -- 32767)
bit 15 is the SCM_ARRAY_FLAG_CONTIGUOUS flag
bits 16-31 hold the smob type id: scm_tc16_array
CDR: pointer to a malloced block containing an scm_array structure
CAR: bits 0-15 hold the smob type id: scm_tc16_array
bit 16 is the SCM_ARRAY_FLAG_CONTIGUOUS flag
bits 17-31 hold the dimension (0 -- 32767)
CDR: pointer to a malloced block containing an scm_t_array structure
followed by an scm_t_array_dim structure for each dimension.
*/