diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-07 19:12:28 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-14 17:13:39 -0700 |
commit | f8ad6b311bf142defe4c203b64713c5a5051c4a7 (patch) | |
tree | c71ed1a58720561a817173daa44ad21575cc2cce /src/w32font.c | |
parent | d98670eb04925fdc4a4928a9b0d0858881da418f (diff) | |
download | emacs-f8ad6b311bf142defe4c203b64713c5a5051c4a7.tar.gz emacs-f8ad6b311bf142defe4c203b64713c5a5051c4a7.tar.bz2 emacs-f8ad6b311bf142defe4c203b64713c5a5051c4a7.zip |
New type Lisp_Misc_Ptr
This is a streamlined version of Lisp_Save_Value, which contains just
a pointer, as that is all Lisp_Save_Values are used for any more.
With the previous changes, these objects are not primarily used as
save values, so just call them "Misc" rather than "Save".
* src/alloc.c (make_misc_ptr): New function.
(mark_object): Mark Lisp_Misc_Ptr too.
* src/lisp.h (Lisp_Misc_Ptr): New constant.
(struct Lisp_Misc_Ptr): New type.
(make_mint_ptr, mint_ptrp, xmint_pointer):
Use Lisp_Misc_Ptr, not Lisp_Save_Value.
(union Lisp_Misc): Add Lisp_Misc_Ptr.
* src/print.c (print_object): Print Lisp_Misc_Ptr.
Diffstat (limited to 'src/w32font.c')
-rw-r--r-- | src/w32font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32font.c b/src/w32font.c index 9cbc3ee14bb..65409b92d27 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -718,7 +718,7 @@ w32font_draw (struct glyph_string *s, int from, int to, } /* w32 implementation of free_entity for font backend. - Optional (if FONT_EXTRA_INDEX is not Lisp_Save_Value). + Optional. Free FONT_EXTRA_INDEX field of FONT_ENTITY. static void w32font_free_entity (Lisp_Object entity); |