str: add STR_MAX_CHARS().
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 24 Sep 2012 01:25:13 +0000 (10:55 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 24 Sep 2012 01:25:13 +0000 (10:55 +0930)
commit049ae7d0ade969c44d0ffab043f507fa7827bf09
treef2d0c34274aa3e86b050d0ce5fe4577913c72e70
parent7b1223717acffcdbbc7d0545cd3ce4a9935278ea
str: add STR_MAX_CHARS().

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/str/str.h
ccan/str/test/compile_fail-STR_MAX_CHARS.c [new file with mode: 0644]
ccan/str/test/run-STR_MAX_CHARS.c [new file with mode: 0644]