made websockets able to run functions

This commit is contained in:
2025-02-08 20:18:00 +01:00
parent bf2e1e347f
commit b816c12a6c
9 changed files with 99 additions and 59 deletions
+2 -4
View File
@@ -1,9 +1,8 @@
#[macro_export]
macro_rules! rs_println {
($($arg:tt)*) => {
println!("{}RS{} - {}",
println!("{}RS - {}",
"\x1b[31m",
"\x1b[0m",
format!($($arg)*)
);
};
@@ -13,10 +12,9 @@ macro_rules! rs_println {
#[macro_export]
macro_rules! rs_errln {
($($arg:tt)*) => {
println!("{}ERROR{} RS{} - {}",
println!("{}ERROR{} RS - {}",
"\x1b[41m",
"\x1b[0m\x1b[31m",
"\x1b[0m",
format!($($arg)*)
);
process::exit(1);