Reorganize code and remove hack for empty block outputs
This commit is contained in:
9
inc/util.h
Normal file
9
inc/util.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
#include <unistd.h>
|
||||
|
||||
#define LEN(arr) (sizeof(arr) / sizeof(arr[0]))
|
||||
#define MAX(a, b) (a > b ? a : b)
|
||||
|
||||
int gcd(int, int);
|
||||
void closePipe(int[2]);
|
||||
void trimUTF8(char*, unsigned int);
|
||||
Reference in New Issue
Block a user