diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-06-15 13:59:30 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-06-16 22:22:10 +0800 |
| commit | 08688972ae56b474e2e2fd954c5caaeb1233a1be (patch) | |
| tree | d44d051821e94283da2ca07862c1679ded6a9f3d /src/misc/macros.hpp | |
| parent | f93f73cdd3c7473e358b18c6f6add5f4d34ba5d6 (diff) | |
init: server
Diffstat (limited to 'src/misc/macros.hpp')
| -rw-r--r-- | src/misc/macros.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/misc/macros.hpp b/src/misc/macros.hpp new file mode 100644 index 0000000..02f5048 --- /dev/null +++ b/src/misc/macros.hpp @@ -0,0 +1,4 @@ +#pragma once + +#define UNLIKELY(expr) (expr) [[unlikely]] +#define LIKELY(expr) (expr) [[likely]] |
