Browse Source

Macro: Add define for bit shifts

master
Riyyi 2 years ago
parent
commit
d3de1fb635
  1. 9
      src/ruc/meta/core.h

9
src/ruc/meta/core.h

@ -0,0 +1,9 @@
/*
* Copyright (C) 2022 Riyyi
*
* SPDX-License-Identifier: MIT
*/
#pragma once
#define BIT(x) (1 << x)
Loading…
Cancel
Save