comparison src/insdel.c @ 13363:941c37982f37

(BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG): Rename from SHORTBITS, INTBITS, LONGBITS.
author Karl Heuer <kwzh@gnu.org>
date Tue, 31 Oct 1995 02:34:16 +0000
parents 3ff15e408e2c
children 621a575db6f7
comparison
equal deleted inserted replaced
13362:1220026cd3a3 13363:941c37982f37
297 /* Don't allow a buffer size that won't fit in an int 297 /* Don't allow a buffer size that won't fit in an int
298 even if it will fit in a Lisp integer. 298 even if it will fit in a Lisp integer.
299 That won't work because so many places use `int'. */ 299 That won't work because so many places use `int'. */
300 300
301 if (Z - BEG + GAP_SIZE + increment 301 if (Z - BEG + GAP_SIZE + increment
302 >= ((unsigned) 1 << (min (INTBITS, VALBITS) - 1))) 302 >= ((unsigned) 1 << (min (BITS_PER_INT, VALBITS) - 1)))
303 error ("Buffer exceeds maximum size"); 303 error ("Buffer exceeds maximum size");
304 304
305 BLOCK_INPUT; 305 BLOCK_INPUT;
306 result = BUFFER_REALLOC (BEG_ADDR, (Z - BEG + GAP_SIZE + increment)); 306 result = BUFFER_REALLOC (BEG_ADDR, (Z - BEG + GAP_SIZE + increment));
307 307