; * src/lisp.h (struct Lisp_Overlay): Update commentary (bug#64580).

This commit is contained in:
Eli Zaretskii 2023-07-13 11:33:54 +03:00
parent 9bc93c7996
commit 7ac947f34c

View file

@ -2594,20 +2594,14 @@ struct Lisp_Marker
ptrdiff_t bytepos; ptrdiff_t bytepos;
} GCALIGNED_STRUCT; } GCALIGNED_STRUCT;
/* START and END are markers in the overlay's buffer, and
PLIST is the overlay's property list. */
struct Lisp_Overlay struct Lisp_Overlay
/* An overlay's real data content is: /* An overlay's real data content is:
- plist - plist
- buffer (really there are two buffer pointers, one per marker, - buffer
and both points to the same buffer) - itree node
- insertion type of both ends (per-marker fields) - start buffer position (field of the itree node)
- start & start byte (of start marker) - end buffer position (field of the itree node)
- end & end byte (of end marker) - insertion types of both ends (fields of the itree node). */
- next (singly linked list of overlays)
- next fields of start and end markers (singly linked list of markers).
I.e. 9words plus 2 bits, 3words of which are for external linked lists.
*/
{ {
union vectorlike_header header; union vectorlike_header header;
Lisp_Object plist; Lisp_Object plist;