matrixmultiply/
debugmacros.rs

1// Copyright 2016 - 2018 Ulrik Sverdrup "bluss"
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9// for debugging -- like println during debugging
10macro_rules! dprint {
11    ($($t:tt)*) => {
12        debug!(println!($($t)*))
13    }
14}
15
16/*
17macro_rules! debug {
18    ($e:expr) => {
19        $e;
20    }
21}
22*/
23
24macro_rules! debug {
25    ($e:expr) => {
26    }
27}
28