diff --git a/libbozo/headers/utils.h b/libbozo/headers/utils.h new file mode 100644 index 0000000..f84c489 --- /dev/null +++ b/libbozo/headers/utils.h @@ -0,0 +1,4 @@ +#pragma once + +#define CEIL(x, y) (((x) + (y) - 1) / (y)) +#define ARRAY_SIZE(ptr) (sizeof(ptr) / sizeof(ptr[0]))