typesafe_cb: handle pointers to undefined struct types.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 24 May 2010 03:02:59 +0000 (12:32 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 24 May 2010 03:02:59 +0000 (12:32 +0930)
commit67a035869c6f3512ba943ae197b407f182a4506d
treeda64209dca26b00027e0f633f012b233409a9316
parent610686a9c31ee04adc170f2f13b5d2bb6432a118
typesafe_cb: handle pointers to undefined struct types.

To do this, we have to lose the ability for preargs and postargs to allow const and volatile argument signatures.
ccan/typesafe_cb/test/compile_fail-cast_if_type.c
ccan/typesafe_cb/test/compile_ok-typesafe_cb-const.c
ccan/typesafe_cb/test/compile_ok-typesafe_cb-undefined.c
ccan/typesafe_cb/test/compile_ok-typesafe_cb-volatile.c
ccan/typesafe_cb/test/run.c
ccan/typesafe_cb/typesafe_cb.h