lib/ccan/htable: HTABLE_INITIALIZER() for static initialization.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 5 Dec 2011 06:12:48 +0000 (16:42 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 5 Dec 2011 06:12:48 +0000 (16:42 +1030)
commite1374049678842f5086f174d97ae916345686f87
treee00cc49a635530c28c5d03d1cc4ca060ab57c2e9
parent0ac7deefbf190e11d38cc47807e0f5f6cfb1775e
lib/ccan/htable: HTABLE_INITIALIZER() for static initialization.

Unfortunately it's a bit of a pain to use for typed hashtables, but it
works.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit 60cc720d0797fc49325437ea36a9ffd909c75ed0)
lib/ccan/htable/htable.c
lib/ccan/htable/htable.h
lib/ccan/htable/htable_type.h