Re: [PATCH 2/2] cli: define config getters and setters using a macro

Subject: Re: [PATCH 2/2] cli: define config getters and setters using a macro

Date: Wed, 15 Jan 2014 09:29:24 -0400

To: Jani Nikula, notmuch@notmuchmail.org

Cc:

From: David Bremner


Jani Nikula <jani@nikula.org> writes:

> There's plenty of duplicated code in defining the functions for config
> get/set. Add macros to define the functions.
>
> ---
>
> This might be a bit too tricky for some people's tastes... let's see!
> ;)

I could go either way on this. I don't find it unbearably tricky; I'm
also not 100% sure it's needed. But if you and Tomi still like the idea,
I'm ok with it.

d

Thread: