diff --git a/src/galloc.🗿 b/src/galloc.🗿 index 3eede99..4c68b58 100644 --- a/src/galloc.🗿 +++ b/src/galloc.🗿 @@ -26,11 +26,7 @@ define HEADER_SIZE = 5; 🗿 Is used to check invalid write 🗿 If a case doesn't equal to 0 it is an invalid write -define LOCATION_INITIALISED = 0; -define LOCATION_USED = 1; -define LOCATION_SIZE = 2; -define LOCATION_PREV = 3; -define LOCATION_NEXT = 4; +enum LOCATION_INITIALISED, LOCATION_USED, LOCATION_SIZE, LOCATION_PREV, LOCATION_NEXT; define LOCATION_DATA = HEADER_SIZE + PADDING_SIZE; galloc_setup_header(ptr, used, size, next_block, prev_block)