Files @ 7f75e1f23836
Branch filter:

Location: CSY/reowolf/src/macros.rs

7f75e1f23836 386 B application/rls-services+xml Show Annotation Show as Raw Download as Raw
Christopher Esterhuyse
bugfix: regression from previous vers: proto components correctly enforce that each of their ports' firing variables are assigned FIRING iff that port put or get during the round
macro_rules! endptlog {
    ($logger:expr, $($arg:tt)*) => {{
    	if cfg!(feature = "endpoint_logging") {
	        if let Some(w) = $logger.line_writer() {
	        	let _ = writeln!(w, $($arg)*);
	        }
	    }
    }};
}
macro_rules! log {
    ($logger:expr, $($arg:tt)*) => {{
    	if let Some(w) = $logger.line_writer() {
        	let _ = writeln!(w, $($arg)*);
    	}
    }};
}