emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 5141234acf: Refactor the webp cache code to allow usage by gi


From: Eli Zaretskii
Subject: Re: master 5141234acf: Refactor the webp cache code to allow usage by gif_load, too
Date: Mon, 11 Apr 2022 16:22:32 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Po Lu <luangruo@yahoo.com>,  emacs-devel@gnu.org
> Date: Mon, 11 Apr 2022 15:14:20 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > 'spec' here is img->spec, right?
> 
> Yup.

So it's already marked when GC runs:

    static void
    mark_image (struct image *img)
    {
      mark_object (img->spec); <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      mark_object (img->dependencies);

      if (!NILP (img->lisp_data))
        mark_object (img->lisp_data);
    }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]