-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathutils.h
More file actions
39 lines (32 loc) · 714 Bytes
/
utils.h
File metadata and controls
39 lines (32 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef utils_H
#define utils_H
#include <stdbool.h>
#include <stdint.h>
enum PrintColors {
reset = 0,
red,
green,
yellow,
blue,
magenta,
cyan,
white,
bright_black,
bright_red,
bright_green,
bright_yellow,
bright_blue,
bright_magenta,
bright_cyan,
bright_white,
};
void println(char* string);
void printlnc(char* string, enum PrintColors color);
void print(char* string, enum PrintColors colors);
bool hex_string_compare(char* s1, char* s2);
void printint(uint64_t i);
void printlnint(uint64_t i);
void printchar(char a, enum PrintColors color);
void printc(enum PrintColors colors);
void printintc(uint64_t i, enum PrintColors color);
#endif