diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-14 15:59:08 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-14 17:13:39 -0700 |
commit | 888bf9877d466dbb65aec821bede9ac49e12798f (patch) | |
tree | 0791497a3092ada47413b8bf4cbc5825b6f77d3c /lisp/cus-edit.el | |
parent | 3f0a8a2e14669cf4a1f56e97f8b1299fced79796 (diff) | |
download | emacs-888bf9877d466dbb65aec821bede9ac49e12798f.tar.gz emacs-888bf9877d466dbb65aec821bede9ac49e12798f.tar.bz2 emacs-888bf9877d466dbb65aec821bede9ac49e12798f.zip |
Avoid allocating a Lisp_Save_Value in ftfont.c
* src/ftfont.c (struct ftfont_cache_data): New member face_refcount.
(ftfont_lookup_cache): Clear it when initializing.
Use make_mint_ptr, since this typically avoids the need to
allocate a Lisp_Save_Value as refcount is now stored elsewhere.
(ftfont_open2, ftfont_close): Manipulate the reference
count in the struct, not in the save object.
Diffstat (limited to 'lisp/cus-edit.el')
0 files changed, 0 insertions, 0 deletions