public inbox for ccan@ozlabs.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: ccan <ccan@lists.ozlabs.org>
Cc: Paul Wayper <paulway@mabula.net>
Subject: CCAN update for 2015-10
Date: Sun, 01 Nov 2015 15:10:29 +1030	[thread overview]
Message-ID: <87wpu2uybm.fsf@rustcorp.com.au> (raw)

Hi!

        I spend four hours on optimizing memeqzero, as you can see from
my blog post at http://rusty.ozlabs.org/?p=560 
        
	
Module of the Month: tcon (CC0)
==============================
tcon is a subtle module for other modules to create type canaries: eg,
ccan/tlist has a TLIST_TYPE(name, type) which declares a list which
holds "type".  tcon provides TCON_WRAP() helpers to add a canary to a
declaration tcon_unwrap() to access it, and tcon_check() to warns if an
expression isn't the same type as the canary.

In addition, canaries can now encode positive compile-time values using
TCON_VALUE, which can be accessed using tcon_value.

New modules:
============
        lpq: simple priority queue (David Gibson)

Minor updates & bugfixes:
========================
        isaac: info formatting fixes (Paul Wayper)
        lqueue/lstack: use ccan/tcon (David Gibson)
	mem: new routine memiszero
        opt: don't use malloc for errors if they set opt_allocator.
        order: total_order_cmp helper (David Gibson)
        ptrint: CONST_FUNCTION annotation (David Gibson)
        tal/str: fix for tal_strndup() of non-nul terminated strings
        tcon: make it useful in more situations (David Gibson)

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

                 reply	other threads:[~2015-11-01  4:40 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=87wpu2uybm.fsf@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=ccan@lists.ozlabs.org \
    --cc=paulway@mabula.net \
    /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