diff options
| author | Mattias EngdegÄrd | 2025-10-22 09:02:08 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2025-10-22 09:03:38 +0200 |
| commit | 6a3d22f3a05e80eea6b8fec66c2b8dfbd358cea9 (patch) | |
| tree | 80f92443024bdb2c273a6ce065a9178bc90b1324 /src | |
| parent | ef58006feee208912a1881822a78065538f89a65 (diff) | |
| download | emacs-6a3d22f3a05e80eea6b8fec66c2b8dfbd358cea9.tar.gz emacs-6a3d22f3a05e80eea6b8fec66c2b8dfbd358cea9.zip | |
; * src/lisp.h (struct Lisp_String): mention terminating NUL
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h index 8da5f4f1475..e7b15069f00 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1579,6 +1579,9 @@ struct Lisp_String | |||
| 1579 | ptrdiff_t size_byte; | 1579 | ptrdiff_t size_byte; |
| 1580 | 1580 | ||
| 1581 | INTERVAL intervals; /* Text properties in this string. */ | 1581 | INTERVAL intervals; /* Text properties in this string. */ |
| 1582 | /* The data is always followed by a NUL, not included in size or | ||
| 1583 | size_byte, for C interoperability, but may also contain NULs | ||
| 1584 | itself. */ | ||
| 1582 | unsigned char *data; | 1585 | unsigned char *data; |
| 1583 | } s; | 1586 | } s; |
| 1584 | struct Lisp_String *next; | 1587 | struct Lisp_String *next; |