CCAN Archive mirror
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: ccan <ccan@lists.ozlabs.org>
Subject: CCAN update for 2016-11
Date: Fri, 05 Feb 2016 14:00:16 +1030	[thread overview]
Message-ID: <87si17bzqv.fsf@rustcorp.com.au> (raw)

Hi!

	I delayed this for a few days because there's been a bit of
a flurry of new activity to report.  Also, there's a new PATCHES file
suggesting Signed-off-by and other contribution hints.

Module of the Month: cppmagic (BSD-MIT)
=======================================
This header-only module provides various special effects, such as
iterators in C macros like CPPMAGIC_MAP() and CPPMAGIC_JOIN().  I'll
leave you to read the source, but David provided me this example which
counts the number of arguments to a macro:

        #define ONE(x) 1
        #define ARGCNT(...) CPPMAGIC_JOIN(+, CPPMAGIC_MAP(ONE, __VA_ARGS__))

New modules:
============
        altstack: run function with dedicated stack, then release the memory
                (Dan Good)
        cppmagic: Abuse of the C preprocessor (David Gibson)
        deque: type-preserving resizing circular deque (Dan Good)
        rszshm: resizable pointer-safe shared memory (Dan Good)
        xstring: bounded string builder with three valued comparator (Dan Good)

Updates & bugfixes:
===================
        io: fake time support for mocking time (Rusty Russell)
        pipecmd: fd leak fix and stderr support (Rusty Russell)
        tal/str: fix infinite loop with tal_fmt("").
        aga: fix unused return result compiler warning (David Gibson)
        strmap, htable, idtree: fix clang warnings (David Gibson)
        ccan/mem: new memtaint() to invalidae memory (Rusty Russell)
        
Infrastructure:
===============
        _info: new "ported" parameter for non-portable modules (Rusty Russell)
        Makefiles: cleanups and fixes to create webpages locally (Joel Stanley)
        travis: now compiles with clang as well as gcc (David Gibson)
        ccanlint/configurator: compile cleanly under clang (David Gibson)

Cheers,
Rusty.
_______________________________________________
ccan mailing list
ccan@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/ccan

                 reply	other threads:[~2016-02-06  1:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87si17bzqv.fsf@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=ccan@lists.ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).