PULSAR
2.0.0
Parallel Ultra-Light Systolic Array Runtime
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Typedefs
Enumerations
Macros
Groups
prt_assert.h
Go to the documentation of this file.
1
11
#ifndef PRT_ASSERT_H
12
#define PRT_ASSERT_H
13
14
#include "
prt.h
"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
void
prt_error_line_file
(
const
char
*msg,
int
line,
char
*file);
21
void
prt_warning_line_file
(
const
char
*msg,
int
line,
char
*file);
22
void
prt_assert_line_file
(
int
cond,
const
char
*msg,
int
line,
char
*file);
23
24
#define prt_error(msg) \
25
prt_error_line_file(msg, __LINE__, __FILE__)
26
27
#define prt_warning(msg) \
28
prt_warning_line_file(msg, __LINE__, __FILE__)
29
30
#define prt_assert(cond, msg) \
31
prt_assert_line_file(cond, msg, __LINE__, __FILE__)
32
33
#ifdef __cplusplus
34
}
35
#endif
36
37
#endif
/* PRT_ASSERT_H */
prt_assert.h
Generated on Thu Nov 20 2014 18:12:00 for PULSAR by
1.8.4