aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-07-15 13:04:41 +0300
committerEli Zaretskii2023-07-15 13:04:41 +0300
commitd78e670237bc735e0804a91b3cb4fc962317ad8a (patch)
treef36a692acbd5ad75a0532f20323909c647a35786
parentd09de2f49d708f73e7397273a254a7775c294d05 (diff)
downloademacs-d78e670237bc735e0804a91b3cb4fc962317ad8a.tar.gz
emacs-d78e670237bc735e0804a91b3cb4fc962317ad8a.zip
; * src/lisp.h: Improve commentary for XIL, XLI, XLP (bug#64645).
-rw-r--r--src/lisp.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index e8b9a795e3c..740e031e865 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -331,7 +331,14 @@ typedef EMACS_INT Lisp_Word;
331 see these functions for commentary. */ 331 see these functions for commentary. */
332 332
333/* Convert among the various Lisp-related types: I for EMACS_INT, L 333/* Convert among the various Lisp-related types: I for EMACS_INT, L
334 for Lisp_Object, P for void *. */ 334 for Lisp_Object, P for void *.
335
336 These use the following mnemonics:
337
338 XLI: Lisp_Object to Integer;
339 XIL: Integer to Lisp_Object;
340 XLP: Lisp_Object to Pointer. */
341
335#if !CHECK_LISP_OBJECT_TYPE 342#if !CHECK_LISP_OBJECT_TYPE
336# if LISP_WORDS_ARE_POINTERS 343# if LISP_WORDS_ARE_POINTERS
337# define lisp_h_XLI(o) ((EMACS_INT) (o)) 344# define lisp_h_XLI(o) ((EMACS_INT) (o))