mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Fix mistake in comment in tags.h
* libguile/tags.h: Fix comment in discussion of data representation. tc3-code #0b110 indicates a small integer and #0b100 indicates a non-integer immediate. Previously, these were reversed.
This commit is contained in:
parent
1a3152f7df
commit
1ce7279a06
1 changed files with 2 additions and 2 deletions
|
@ -258,8 +258,8 @@ typedef scm_t_uintptr scm_t_bits;
|
|||
*
|
||||
* If the cell holds a scheme pair, then we already know that the first
|
||||
* scm_t_bits variable of the cell will hold a scheme object with one of the
|
||||
* following tc3-codes: #b000 (non-immediate), #b010 (small integer), #b100
|
||||
* (small integer), #b110 (non-integer immediate). All these tc3-codes have
|
||||
* following tc3-codes: #b000 (non-immediate), #b010 (small integer), #b110
|
||||
* (small integer), #b100 (non-integer immediate). All these tc3-codes have
|
||||
* in common, that their least significant bit is #b0. This fact is used by
|
||||
* the garbage collector to identify cells that hold pairs. The remaining
|
||||
* tc3-codes are assigned as follows: #b001 (class instance or, more
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue