Home
last modified time | relevance | path

Searched refs:__return (Results 1 - 1 of 1) sorted by relevance

/third_party/rust/crates/cxx/macro/src/
H A Dexpand.rs481 outparam = Some(quote!(__return: *mut #ret)); in expand_cxx_function_decl()
621 let mut __return = ::cxx::core::mem::MaybeUninit::<#ret>::uninit(); in expand_cxx_function_shim() variables
625 #local_name(#(#vars,)* __return.as_mut_ptr()).exception()?; in expand_cxx_function_shim()
629 #local_name(#(#vars,)* __return.as_mut_ptr()); in expand_cxx_function_shim()
632 quote_spanned!(span=> __return.assume_init()) in expand_cxx_function_shim()
1103 outparam = Some(quote_spanned!(span=> __return: *mut #ret,)); in expand_rust_function_shim_impl()
1107 Some(_) => quote_spanned!(span=> __return), in expand_rust_function_shim_impl()
1114 expr = quote_spanned!(span=> ::cxx::core::ptr::write(__return, #expr)); in expand_rust_function_shim_impl()

Completed in 3 milliseconds