mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Inline definition of SIZEOF_SCM_T_BITS
* libguile/_scm.h (SIZEOF_SCM_T_BITS): Remove definition. * libguile/conv-integer.i.c (SCM_TO_TYPE_PROTO, SCM_FROM_TYPE_PROTO): * libguile/conv-uinteger.i.c (SCM_FROM_TYPE_PROTO): * libguile/gc.c (DEFAULT_INITIAL_HEAP_SIZE): * libguile/hashtab.c: * libguile/loader.c: * libguile/socket.c: * libguile/vm-engine.c (VM_NAME): Use SIZEOF_UINTPTR_T instead of SIZEOF_SCM_T_BITS.
This commit is contained in:
parent
ea3c5cf909
commit
7b4ab0895b
8 changed files with 10 additions and 13 deletions
|
@ -62,7 +62,7 @@
|
|||
static unsigned long hashtable_size[] = {
|
||||
31, 61, 113, 223, 443, 883, 1759, 3517, 7027, 14051, 28099, 56197, 112363,
|
||||
224717, 449419, 898823, 1797641, 3595271, 7190537, 14381041
|
||||
#if SIZEOF_SCM_T_BITS > 4
|
||||
#if SIZEOF_UINTPTR_T > 4
|
||||
/* vector lengths are stored in the first word of vectors, shifted by
|
||||
8 bits for the tc8, so for 32-bit we only get 2^24-1 = 16777215
|
||||
elements. But we allow a few more sizes for 64-bit. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue