]> git.ozlabs.org Git - ccan/commit - ccan/container_of/container_of.h
ccan_tokenizer, check_type, container_of, typesafe_cb: handle !HAVE_TYPEOF
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 10 Nov 2010 11:40:03 +0000 (22:10 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 10 Nov 2010 11:40:03 +0000 (22:10 +1030)
commitda72623aec30213a593bd23dca80c89416598f75
tree4512e4932fbc15f270862e5e67ce50cad799b84e
parentad3f309e3c13d6b88864aab146895c9df9bc6e5b
ccan_tokenizer, check_type, container_of, typesafe_cb: handle !HAVE_TYPEOF

Delio Brignoli points out that check_type fails when HAVE_TYPEOF is 0,
so turn that off here and see what else breaks...
ccan/array/array.h
ccan/ccan_tokenizer/ccan_tokenizer.c
ccan/check_type/check_type.h
ccan/container_of/container_of.h
ccan/container_of/test/compile_fail-var-types.c
ccan/typesafe_cb/test/compile_fail-cast_if_any.c
ccan/typesafe_cb/test/compile_ok-cast_if_any.c