From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
To: dccp@vger.kernel.org
Subject: Re: [PATCH 24/25]: Macro for moving average
Date: Fri, 13 Apr 2007 08:23:14 +0000 [thread overview]
Message-ID: <200704130923.14459@strip-the-willow> (raw)
In-Reply-To: <200703211846.10823@strip-the-willow>
| I don't like macros that receive as a parameter something that will be
| changed, its more readable to have it as a inline function and return
| the new value, even if the resulting code uses more characters, so I'm
| applying the attached patch and will take care of the fallout, that is
| small from what I grepped at the_whole_lot.
You are right (please see other comment), I wasn't overly happy with this one.
Your change makes it much better and avoids future problems due to someone
misinterpreting the macro arguments. Many thanks indeed.
prev parent reply other threads:[~2007-04-13 8:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-21 18:46 [PATCH 24/25]: Macro for moving average Gerrit Renker
2007-03-26 4:04 ` Ian McDonald
2007-04-02 8:57 ` Gerrit Renker
2007-04-02 9:06 ` Ian McDonald
2007-04-12 16:10 ` Arnaldo Carvalho de Melo
2007-04-13 8:23 ` Gerrit Renker [this message]
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=200704130923.14459@strip-the-willow \
--to=gerrit@erg.abdn.ac.uk \
--cc=dccp@vger.kernel.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.
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.