--- name: extern c empty desc: do the extern "C" blocks get produced for empty input idl: "" test_common.h: - | #if defined(__cplusplus) extern "C" { #endif - | #if defined(__cplusplus) } #endif --- name: extern c desc: do the extern "C" blocks get produced for non-empty input idl: | interface Foo { foofn() -> void } test_common.h: - | #if defined(__cplusplus) extern "C" { #endif - | #if defined(__cplusplus) } #endif