diff options
| author | Paul Eggert | 2019-09-03 21:54:58 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-09-03 22:46:11 -0700 |
| commit | 97cfda2638afc7fed6ac7e465c6fe927f428a932 (patch) | |
| tree | ab634688fc29cfd75b013ae274b70c80cd426eea /src/alloc.c | |
| parent | 9117a667908064a0b4ae6ec6c8f3674d95ad6225 (diff) | |
| download | emacs-97cfda2638afc7fed6ac7e465c6fe927f428a932.tar.gz emacs-97cfda2638afc7fed6ac7e465c6fe927f428a932.zip | |
Take last_per_buffer_idx private
This will simplify future changes. Turn the runtime check
into an eassert, since it’s not needed in production.
* src/buffer.c (last_per_buffer_idx): Now static.
(valid_per_buffer_idx): New function.
* src/buffer.h (PER_BUFFER_VALUE_P, SET_PER_BUFFER_VALUE_P): Use it.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions