public inbox for ccan@ozlabs.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: David Gibson <david@gibson.dropbear.id.au>, ccan@lists.ozlabs.org
Subject: Re: [PATCH 0/5] cppmagic: Preprocessor tricks
Date: Mon, 01 Feb 2016 12:21:33 +1030	[thread overview]
Message-ID: <87fuxduriy.fsf@rustcorp.com.au> (raw)
In-Reply-To: <20160130125109.GS23043@voom.redhat.com>

David Gibson <david@gibson.dropbear.id.au> writes:
> On Wed, Jan 27, 2016 at 10:39:56PM +1100, David Gibson wrote:
>> ccan already has cpp macros used in some interesting ways.  This
>> module is far more interesting.. or possibly horrifying.
>> 
>> It includes some very fancy preprocessor techniques described in the
>> article at:
>>     http://jhnet.co.uk/articles/cpp_magic
>> 
>> This includes preprocessing time evaluated conditionals, (sort of)
>> recursion and iteration across the parameters of varargs macros.
>
> No comments so far.  Unless there's an objection in the next couple of
> days, I'll commit this myself.

We're still reeling, I think!

Commit away!
Rusty.
_______________________________________________
ccan mailing list
ccan@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/ccan

  reply	other threads:[~2016-02-01  2:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27 11:39 [PATCH 0/5] cppmagic: Preprocessor tricks David Gibson
2016-01-27 11:39 ` [PATCH 1/5] cppmagic: New module David Gibson
2016-01-27 11:39 ` [PATCH 2/5] cppmagic: Logical operations David Gibson
2016-01-27 11:39 ` [PATCH 3/5] cppmagic: Conditionals David Gibson
2016-01-27 11:40 ` [PATCH 4/5] cppmagic: Allow multiple and deferred evaluation David Gibson
2016-01-27 11:40 ` [PATCH 5/5] cppmagic: Iteration David Gibson
2016-01-30 12:51 ` [PATCH 0/5] cppmagic: Preprocessor tricks David Gibson
2016-02-01  1:51   ` Rusty Russell [this message]
2016-02-01  3:59     ` David Gibson

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=87fuxduriy.fsf@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=ccan@lists.ozlabs.org \
    --cc=david@gibson.dropbear.id.au \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox