Searched refs:generate_header_and_cc (Results 1 – 3 of 3) sorted by relevance
3 use cxx_gen::{generate_header_and_cc, Opt};19 let generated = generate_header_and_cc(source, &opt).unwrap(); in test_extern_c_function()31 let generated = generate_header_and_cc(source, &opt).unwrap(); in test_impl_annotation()
18 let code = cxx_gen::generate_header_and_cc(rs, &opt).unwrap(); in test_positive()27 assert!(cxx_gen::generate_header_and_cc(rs, &opt).is_err()) in test_negative()
54 pub fn generate_header_and_cc(rust_source: TokenStream, opt: &Opt) -> Result<GeneratedCode, Error> { in generate_header_and_cc() function