diff options
| author | Karl Heuer | 1995-10-31 02:34:16 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-10-31 02:34:16 +0000 |
| commit | 68be917ded75e3147180af2a0a51fc8c89d042d8 (patch) | |
| tree | e3a81d2c4ac2e05e981721dae3508a634c7d6cab /src/alloc.c | |
| parent | 1b124db4a5e0a90143b5a8d3fa9cfb17bdbbd975 (diff) | |
| download | emacs-68be917ded75e3147180af2a0a51fc8c89d042d8.tar.gz emacs-68be917ded75e3147180af2a0a51fc8c89d042d8.zip | |
(BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
Rename from SHORTBITS, INTBITS, LONGBITS.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c index 002dc51ddb9..978174360b2 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -1091,7 +1091,7 @@ Both LENGTH and INIT must be numbers. INIT matters only in whether it is t or n | |||
| 1091 | 1091 | ||
| 1092 | CHECK_NATNUM (length, 0); | 1092 | CHECK_NATNUM (length, 0); |
| 1093 | 1093 | ||
| 1094 | bits_per_value = sizeof (EMACS_INT) * INTBITS / sizeof (int); | 1094 | bits_per_value = sizeof (EMACS_INT) * BITS_PER_CHAR; |
| 1095 | 1095 | ||
| 1096 | length_in_elts = (XFASTINT (length) + bits_per_value - 1) / bits_per_value; | 1096 | length_in_elts = (XFASTINT (length) + bits_per_value - 1) / bits_per_value; |
| 1097 | length_in_chars = length_in_elts * sizeof (EMACS_INT); | 1097 | length_in_chars = length_in_elts * sizeof (EMACS_INT); |
| @@ -1428,7 +1428,7 @@ inhibit_garbage_collection () | |||
| 1428 | { | 1428 | { |
| 1429 | int count = specpdl_ptr - specpdl; | 1429 | int count = specpdl_ptr - specpdl; |
| 1430 | Lisp_Object number; | 1430 | Lisp_Object number; |
| 1431 | int nbits = min (VALBITS, INTBITS); | 1431 | int nbits = min (VALBITS, BITS_PER_INT); |
| 1432 | 1432 | ||
| 1433 | XSETINT (number, ((EMACS_INT) 1 << (nbits - 1)) - 1); | 1433 | XSETINT (number, ((EMACS_INT) 1 << (nbits - 1)) - 1); |
| 1434 | 1434 | ||