bug-gnulib
[Top][All Lists]
Advanced

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

Re: Would timevar be accepted in gnulib?


From: Bruno Haible
Subject: Re: Would timevar be accepted in gnulib?
Date: Sun, 23 Sep 2018 11:49:05 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-134-generic; KDE/5.18.0; x86_64; ; )

Addendum:
> Note that (c), like (a), has the benefit that adding a new timevar is a
> modification in a single place.

This is true only if all uses of the timevars are in a single C compilation
unit (e.g. the top-level). If the user wants to use them in different source
files, it requires 2 modifications: one for the declaration, and one for the
implementation. As usual in C.

Bruno




reply via email to

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