Re: [RFC 2/5] lib: remove enum names from typedefs

Subject: Re: [RFC 2/5] lib: remove enum names from typedefs

Date: Wed, 13 Oct 2021 10:18:26 -0300

To: Jani Nikula, notmuch@notmuchmail.org

Cc: jani@nikula.org

From: David Bremner


Jani Nikula <jani@nikula.org> writes:

> Given the named enum typedef:
>
>     typedef enum _name_t { ... } name_t;
>
> Hawkmoth uses _name_t as the name for documentation. Typedef the
> anonymous enum:
>
>     typedef enum { ... } name_t;
>
> instead to use name_t. We don't really need the enum names for
> anything, and not all of the enum typedefs have them anyway.
> ---
I guess that change would be fine independent of the rest?
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: