Paul Greenwood | 31a5488 | 2019-08-01 17:05:09 -0500 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | /** |
| 4 | * @file hei_user_defines.hpp |
| 5 | * @brief The purpose of this file is to create common defines that |
| 6 | * will be used throughout this library. |
| 7 | **/ |
| 8 | |
Zane Shelley | 814b1e3 | 2019-06-17 20:55:04 -0500 | [diff] [blame] | 9 | #include <stdio.h> |
| 10 | #include <assert.h> |
| 11 | |
| 12 | #define HEI_INF( ... ) \ |
| 13 | { \ |
| 14 | printf( "I> " __VA_ARGS__ ); \ |
| 15 | printf( "\n" ); \ |
| 16 | } |
| 17 | |
| 18 | #define HEI_ERR( ... ) \ |
| 19 | { \ |
| 20 | printf( "E> " __VA_ARGS__ ); \ |
| 21 | printf( "\n" ); \ |
| 22 | } |
| 23 | |
| 24 | #define HEI_ASSERT( expression ) \ |
| 25 | assert( expression ); |