diff options
| author | Paul Eggert | 2017-04-04 14:06:25 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-04-04 14:07:54 -0700 |
| commit | 82b9efc869dddcbd5677867b84b20ae155b5b9da (patch) | |
| tree | c570068c6e5801726a2ea05474a3779bf5cd4fd6 /src/thread.h | |
| parent | 12317ff4fb53f889a69a858a629df6beffacd051 (diff) | |
| download | emacs-82b9efc869dddcbd5677867b84b20ae155b5b9da.tar.gz emacs-82b9efc869dddcbd5677867b84b20ae155b5b9da.zip | |
Minor simplifications and doc for records
* doc/lispref/records.texi (Records): Mention size limit.
* etc/NEWS: Mention records.
* src/alloc.c (allocate_pseudovector, allocate_record):
Prefer 'PSEUDOVECTOR_SIZE_MASK' to its definiens.
(allocate_record): Check arg range here, not in callers, as this
simplifies the code. Use allocate_vectorlike instead of
allocate_vector, to avoid duplicate runtime tests.
(Fmake_record, record): Don't mention PSEUDOVECTOR_SIZE_BITS in
the doc string, as it is not visible to the user.
(Fmake_record, record, Fcopy_record):
Prefer make_lisp_ptr to XSETVECTOR.
(record): Broaden memcpy to copy the type, too.
Diffstat (limited to 'src/thread.h')
0 files changed, 0 insertions, 0 deletions