blob: 2ba5b8b688d4a7dfc7087fce7cd8c7e97088c886 [file] [log] [blame]
Paul Greenwood31a54882019-08-01 17:05:09 -05001#pragma once
2
3/**
Zane Shelley83da2452019-10-25 15:45:34 -05004 * @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 */
Paul Greenwood31a54882019-08-01 17:05:09 -05008
Zane Shelley814b1e32019-06-17 20:55:04 -05009#include <assert.h>
Zane Shelleyca9f6252019-10-25 21:17:30 -050010#include <stdio.h>
Zane Shelley814b1e32019-06-17 20:55:04 -050011
Zane Shelley83da2452019-10-25 15:45:34 -050012#define HEI_INF(...) \
13 { \
14 printf("I> " __VA_ARGS__); \
15 printf("\n"); \
16 }
Zane Shelley814b1e32019-06-17 20:55:04 -050017
Zane Shelley83da2452019-10-25 15:45:34 -050018#define HEI_ERR(...) \
19 { \
20 printf("E> " __VA_ARGS__); \
21 printf("\n"); \
22 }
Zane Shelley814b1e32019-06-17 20:55:04 -050023
Zane Shelley83da2452019-10-25 15:45:34 -050024#define HEI_ASSERT(expression) assert(expression);