Re: [dev] [st] [patch] misplaced parenthesis in LEN macro

From: sin <sin_AT_2f30.org>
Date: Sun, 20 Apr 2014 20:09:35 +0100

On Sun, Apr 20, 2014 at 08:58:23PM +0200, Roberto E. Vargas Caballero wrote:
> > #define LEN(x) (sizeof (x) / sizeof *(x))
>
> I am used to read the other form, but I thing it is only a question
> of personal taste, and since the other form was sent before your suggestion
> I'll apply it.

Yes, personal preference.

In any case, it does not matter match - people are not going to spend
their entire lives reading that macro anyhow.
Received on Sun Apr 20 2014 - 21:09:35 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 20 2014 - 21:12:05 CEST