some fine tuning

This commit is contained in:
2024-11-22 12:42:03 +01:00
parent 7f1437e779
commit 129725dce2
5 changed files with 22 additions and 30 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ macro_rules! val {
}
#[macro_export]
macro_rules! run_handler {
macro_rules! call {
($self:ident.$handler:ident ($($inner:tt)*)) => {{
let a = std::sync::Arc::clone(&$self.$handler.0);
let mut o = a.lock().unwrap();
@@ -15,4 +15,4 @@ macro_rules! run_handler {
($self:ident.$handler:ident) => {{
&$self.$handler;
}};
}
}