diff options
| author | Mattias EngdegÄrd | 2023-04-16 11:20:05 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2023-04-16 14:07:36 +0200 |
| commit | 3c8167ec0f9647e6fc33e65b0a0324f96cb795ee (patch) | |
| tree | 7178b4c017cc59c77e0c9d7e573243964716fd21 /exec/exec.c | |
| parent | bc61a1afdd6c3ba8a605ed46ae97b1e36b40f951 (diff) | |
| download | emacs-3c8167ec0f9647e6fc33e65b0a0324f96cb795ee.tar.gz emacs-3c8167ec0f9647e6fc33e65b0a0324f96cb795ee.zip | |
Fit symbol_redirect snugly in two bits
This allows the C compiler to do away with all default clauses when
switching on the `redirect` field.
* src/lisp.h (enum symbol_redirect): Use values in the 0..3 range,
which also matches the old comment in struct Lisp_Symbol.
(enum symbol_interned, enum symbol_redirect)
(enum symbol_trapped_write): Comment members. Remove explicit values.
(struct Lisp_Symbol): Shrink the `redirect` member to 2 bits.
Use the correct type for the `interned` field.
Move value comments to their types.
* src/pdumper.c (dump_symbol): Update hashes.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions