• Paul Eggert's avatar
    Prefer now-standard int width macros · 0bbf00c7
    Paul Eggert authored
    * src/data.c (ULL_WIDTH):
    * src/lisp.h (EMACS_INT_WIDTH, BITS_PER_BITS_WORD):
    * src/lread.c (read_integer):
    * src/term.c (produce_glyphless_glyph):
    * src/xterm.c (x_send_scroll_bar_event):
    Use *_WIDTH macros instead of CHAR_BIT * sizeof.
    * src/data.c (ULL_WIDTH): Rename from BITS_PER_ULL for consistency
    with the *_WIDTH standard macros.  All uses changed.
    * src/gmalloc.c (INT_BIT): Remove.  All uses replaced with INT_WIDTH.
    * src/lisp.h (EMACS_INT_WIDTH): Rename from BITS_PER_EMACS_INT
    for consistency with the *_WIDTH standard macros.  All uses changed.
    (BITS_PER_CHAR): Remove; all uses replaced by CHAR_BIT.  This must
    be the same as CHAR_WIDTH and avoids confusion with Elisp
    char-width, which counts columns not bits.
    (BITS_PER_SHORT): Remove; all uses replaced by SHRT_WIDTH.
    (BITS_PER_LONG): Remove; all uses replaced by LONG_WIDTH.
    * src/lread.c: Do not include limits.h since CHAR_BIT is no longer
    used directly.
    0bbf00c7
xfaces.c 194 KB