Loading system/gd/rust/topshim/macros/src/lib.rs +1 −3 Original line number Diff line number Diff line Loading @@ -127,9 +127,7 @@ pub fn cb_variant(input: TokenStream) -> TokenStream { extern "C" fn #ident(#params) { #stmts unsafe { (get_dispatchers().lock().unwrap().get::<#dispatcher>().unwrap().clone().lock().unwrap().dispatch)(#rpath(#args)); } (get_dispatchers().lock().unwrap().get::<#dispatcher>().unwrap().lock().unwrap().dispatch)(#rpath(#args)); } }; Loading Loading
system/gd/rust/topshim/macros/src/lib.rs +1 −3 Original line number Diff line number Diff line Loading @@ -127,9 +127,7 @@ pub fn cb_variant(input: TokenStream) -> TokenStream { extern "C" fn #ident(#params) { #stmts unsafe { (get_dispatchers().lock().unwrap().get::<#dispatcher>().unwrap().clone().lock().unwrap().dispatch)(#rpath(#args)); } (get_dispatchers().lock().unwrap().get::<#dispatcher>().unwrap().lock().unwrap().dispatch)(#rpath(#args)); } }; Loading