aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authornathansmith117 <nathansmith117@sdf.org>2025-02-04 11:29:07 +0000
committernathansmith117 <nathansmith117@sdf.org>2025-02-04 11:29:07 +0000
commitfe9b718f8978cfd792f7303214b2dd45172b8d4b (patch)
tree8efd867eae12ad5d55d29e964272974ee3d71b18 /src/util.h
parentfb7ccc0c046ed80fdac2e829b8c367841600e211 (diff)
downloadsldj-fe9b718f8978cfd792f7303214b2dd45172b8d4b.tar.gz
sldj-fe9b718f8978cfd792f7303214b2dd45172b8d4b.tar.bz2
sldj-fe9b718f8978cfd792f7303214b2dd45172b8d4b.zip
Working on script context
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h13
1 files changed, 0 insertions, 13 deletions
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 <stdio.h>
-#include <stdlib.h>
-
-#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