summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-01-28 11:16:16 +0800
committerJSDurand <mmemmew@gmail.com>2022-01-28 11:16:16 +0800
commite8e1c91b40c9c82a0fd8373746a7b8cfb130f467 (patch)
treed815ae94866fccc3dea037cea36bd020770a49a1 /src/util.h
parentbad2b1934da66021cbc7f0d715686706bd444449 (diff)
BSR
A prototype of BSR is roughly finished.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index fae8517..d83e40c 100644
--- a/src/util.h
+++ b/src/util.h
@@ -28,7 +28,8 @@ typedef unsigned char BOOL;
#define UC_ATTR __attribute__((__unused__, __const__))
#define UH_ATTR __attribute__((__unused__, __hot__))
#define UHP_ATTR __attribute__((__unused__, __hot__, __pure__))
-
+#define UHC_ATTR __attribute__((__unused__, __hot__, __const__))
+#define HP_ATTR __attribute__((__hot__, __pure__))
/* For convenient declarations */
#define CC_MOD(X) const X const
#define CCR_MOD(X) const X const restrict