emacs-devel
[Top][All Lists]
Advanced

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

Re: scratch/igc 7057c3562ff: * src/pgtkterm.c (mark_pgtkterm): Exclude f


From: Po Lu
Subject: Re: scratch/igc 7057c3562ff: * src/pgtkterm.c (mark_pgtkterm): Exclude from MPS builds.
Date: Thu, 27 Jun 2024 14:17:54 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

> branch: scratch/igc
> commit 7057c3562ff373c6061b2b9e6d124fb5f6b90ee5
> Author: Jeff Walsh <fejfighter@gmail.com>
> Commit: Eli Zaretskii <eliz@gnu.org>
>
>     * src/pgtkterm.c (mark_pgtkterm): Exclude from MPS builds.
> ---
>  src/pgtkterm.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/pgtkterm.c b/src/pgtkterm.c
> index 49b7ea406f8..7279f5d863b 100644
> --- a/src/pgtkterm.c
> +++ b/src/pgtkterm.c
> @@ -336,6 +336,7 @@ evq_flush (struct input_event *hold_quit)
>    return n;
>  }
>  
> +#ifndef HAVE_MPS
>  void
>  mark_pgtkterm (void)
>  {
> @@ -369,6 +370,7 @@ mark_pgtkterm (void)
>       mark_object (device->name);
>      }
>  }
> +#endif
>  
>  char *
>  get_keysym_name (int keysym)

Doesn't this require that device structures be registered and
deregistered as GC roots when allocated and deallocated?  The same
applies to objects in the module's private event queue.


reply via email to

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