blob: c84981b841d3cb7d36bf47a0089eebdd9987397d [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 Shelleyc4771992019-10-28 22:01:49 -050012#define HEI_INF(...) \
13 { \
14 printf("I> " __VA_ARGS__); \
15 printf("\n"); \
Zane Shelley83da2452019-10-25 15:45:34 -050016 }
Zane Shelley814b1e32019-06-17 20:55:04 -050017
Zane Shelleyc4771992019-10-28 22:01:49 -050018#define HEI_ERR(...) \
19 { \
20 printf("E> " __VA_ARGS__); \
21 printf("\n"); \
Zane Shelley83da2452019-10-25 15:45:34 -050022 }
Zane Shelley814b1e32019-06-17 20:55:04 -050023
Zane Shelley83da2452019-10-25 15:45:34 -050024#define HEI_ASSERT(expression) assert(expression);