From fe9b718f8978cfd792f7303214b2dd45172b8d4b Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Tue, 4 Feb 2025 04:29:07 -0700 Subject: Working on script context --- src/util.h | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/util.h (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h deleted file mode 100644 index 110aae7..0000000 --- a/src/util.h +++ /dev/null @@ -1,13 +0,0 @@ -#include -#include - -#ifndef UTIL_H -#define UTIL_H - -#define SET_BIT(b, n) (b | (0x1 << n)) -#define CLEAR_BIT(b, n) (b & ~(0x1 << n)) -#define IS_BIT_SET(b, n) ((b >> n) & 0x1) -#define TOGGLE_BIT(b, n) (b ^ (0x1 << n)) -#define HAS_FLAG(v, f) ((v & f) == f) - -#endif -- cgit v1.2.3