Main Page
Tutorials
Functions
Release Notes
Examples
macros.h
Go to the documentation of this file.
1
/*******************************************************
2
* Copyright (c) 2014, ArrayFire
3
* All rights reserved.
4
*
5
* This file is distributed under 3-clause BSD license.
6
* The complete license agreement can be obtained at:
7
* http://arrayfire.com/licenses/BSD-3-Clause
8
********************************************************/
9
10
#pragma once
11
#include <stdio.h>
12
18
#ifndef AF_MSG
19
#define AF_MSG(fmt,...) do { \
20
printf("%s:%d: " fmt "\n", \
21
__FILE__, __LINE__, ##__VA_ARGS__); \
22
} while (0);
23
#endif
24