Updated arg system & made websocked somehow work???

This commit is contained in:
2025-02-08 15:50:33 +01:00
parent e2869fb8a2
commit 1c7170bb81
10 changed files with 77 additions and 52 deletions
+13
View File
@@ -22,3 +22,16 @@ macro_rules! rs_errln {
process::exit(-1);
};
}
#[macro_export]
macro_rules! errln {
($($arg:tt)*) => {
println!("{}ERROR{} - {}",
"\x1b[41m",
"\x1b[0m",
format!($($arg)*)
);
process::exit(-1);
};
}