[v0.01] Update LICENSE and source code extensions

This commit is contained in:
Dr-Noob
2021-08-11 09:13:15 +02:00
parent 5e6c3cb965
commit f824e3c4f2
7 changed files with 8 additions and 8 deletions

17
src/common/global.hpp Normal file
View File

@@ -0,0 +1,17 @@
#ifndef __GLOBAL__
#define __GLOBAL__
#include <stdbool.h>
#include <stddef.h>
#define STRING_UNKNOWN "Unknown"
void set_log_level(bool verbose);
void printWarn(const char *fmt, ...);
void printErr(const char *fmt, ...);
void printBug(const char *fmt, ...);
int max(int a, int b);
void* emalloc(size_t size);
void* ecalloc(size_t nmemb, size_t size);
#endif