Function: record
record is a function defined in alloc.c.
Signature
(record TYPE &rest SLOTS)
Documentation
Create a new record.
TYPE is its type as returned by type-of; it should be either a
symbol or a type descriptor. SLOTS is used to initialize the record
slots with shallow copies of the arguments.
Probably introduced at or before Emacs version 26.1.
Source Code
// Defined in /usr/src/emacs/src/alloc.c
{
struct Lisp_Vector *p = allocate_record (nargs);
memcpy (p->contents, args, nargs * sizeof *args);
return make_lisp_ptr (p, Lisp_Vectorlike);
}