blob: eec606d47dd966635bf7ce59c92d5a812b0cc3ee [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 <stdio.h>
10#include <assert.h>
11
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);