blob: f6e39f030ec6d7b23eb0cf9f9876513270008962 [file] [log] [blame]
Ben Tyner032bf9e2020-05-06 21:27:54 -05001#include <assert.h>
2#include <stdarg.h>
3#include <stdio.h>
4
5namespace libhei
6{
7
8void hei_inf(char* format, ...)
9{
10 va_list args;
11
12 printf("I> ");
13 va_start(args, format);
14 vprintf(format, args);
15 va_end(args);
16 printf("\n");
17}
18
19void hei_err(char* format, ...)
20{
21 va_list args;
22
23 printf("E> ");
24 va_start(args, format);
25 vprintf(format, args);
26 va_end(args);
27 printf("\n");
28}
29
30} // namespace libhei