autodata: add example, clean up description a little.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 7 Dec 2011 02:57:14 +0000 (13:27 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 7 Dec 2011 02:57:14 +0000 (13:27 +1030)
commit3db2dce0d4b266b13a0e58fc8583e66177ed4555
treecde6c9b54ce5423c0e06224e6169379c3f88cbf2
parent41c9a8d6300060fb26d664e674d8e2f3e245cd95
autodata: add example, clean up description a little.

Also add #include to AUTODATA_TYPE example, so ccanlint doesn't try to
put it inside a function (which works, for this, but gives a warning
about unused variables).
ccan/autodata/_info
ccan/autodata/autodata.h