1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2014 Michael Yang. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.

macro_rules! prefix(
    (f32, $f: ident) => (cblas_s::$f);
    (f64, $f: ident) => (cblas_d::$f);
    (Complex<f32>, $f: ident) => (cblas_c::$f);
    (Complex<f64>, $f: ident) => (cblas_z::$f);
    (Complex32, $f: ident) => (cblas_c::$f);
    (Complex64, $f: ident) => (cblas_z::$f);
);