From: Pip Cet <pipcet@protonmail.com>
To: Gerd Moellmann <gerd@gnu.org>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: scratch/igc e30aacad558: Convert SPLAT_PVEC to a function, restore an exhaustive switch
Date: Sat, 20 Jul 2024 08:19:48 +0000 [thread overview]
Message-ID: <czr5nEUAcTM3MojCAcnDZjYqElC24F4zFweut-xG7BaxqC9Rf7Rigz9Q2IhN9xolqm00KLsWEYndAhUIp_h1-uR36xkyNsoJoNOHBSomZNM=@protonmail.com> (raw)
In-Reply-To: <20240720073917.DECA4C3535F@vcs2.savannah.gnu.org>
On Saturday, July 20th, 2024 at 07:39, Gerd Moellmann <gerd@gnu.org> wrote:
> branch: scratch/igc
> commit e30aacad5582889cb18b5089e73d022f0c8ae7c8
> Author: Gerd Möllmann gerd@gnu.org
>
> Commit: Gerd Möllmann gerd@gnu.org
>
> Convert SPLAT_PVEC to a function, restore an exhaustive switch
> +#ifndef IN_MY_FORK
> + case PVEC_OBARRAY:
> +#endif
> + case PVEC_HASH_TABLE:
> + case PVEC_WEAK_HASH_TABLE:
> + case PVEC_SYMBOL_WITH_POS:
> + case PVEC_PROCESS:
> + case PVEC_RECORD:
> + case PVEC_CLOSURE:
> + case PVEC_SQLITE:
> + case PVEC_TS_NODE:
> + case PVEC_NORMAL_VECTOR:
> +#ifdef IN_MY_FORK
> + case PVEC_PACKAGE:
> +#endif
> + case PVEC_WINDOW_CONFIGURATION:
> + case PVEC_BUFFER:
> + case PVEC_FRAME:
> + case PVEC_WINDOW:
> + case PVEC_CHAR_TABLE:
> + case PVEC_SUB_CHAR_TABLE:
> + case PVEC_BOOL_VECTOR:
> + case PVEC_OVERLAY:
> + case PVEC_OTHER:
> + case PVEC_MISC_PTR:
> + case PVEC_XWIDGET:
> + case PVEC_XWIDGET_VIEW:
> + case PVEC_TERMINAL:
> + case PVEC_MARKER:
> + case PVEC_MODULE_GLOBAL_REFERENCE:
> + igc_assert (!"finalization not implemented");
> + break;
Hmm. I'm afraid my changes mean finalize_vector is called for all vectors with an extended header, so it must be a nop rather than aborting. Is it okay if I change that? I'll keep the exhaustive switch, of course :-)
Pip
next parent reply other threads:[~2024-07-20 8:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <172146115753.30547.6490547847617776966@vcs2.savannah.gnu.org>
[not found] ` <20240720073917.DECA4C3535F@vcs2.savannah.gnu.org>
2024-07-20 8:19 ` Pip Cet [this message]
2024-07-20 8:43 ` scratch/igc e30aacad558: Convert SPLAT_PVEC to a function, restore an exhaustive switch Gerd Möllmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='czr5nEUAcTM3MojCAcnDZjYqElC24F4zFweut-xG7BaxqC9Rf7Rigz9Q2IhN9xolqm00KLsWEYndAhUIp_h1-uR36xkyNsoJoNOHBSomZNM=@protonmail.com' \
--to=pipcet@protonmail.com \
--cc=emacs-devel@gnu.org \
--cc=gerd@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.