aboutsummaryrefslogtreecommitdiff
path: root/src/bitboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bitboard.h')
-rw-r--r--src/bitboard.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/bitboard.h b/src/bitboard.h
new file mode 100644
index 0000000..b90bd8f
--- /dev/null
+++ b/src/bitboard.h
@@ -0,0 +1,12 @@
+#include "types.h"
+
+typedef U64 Bitboard;
+#define BIT (U64)1
+
+int pop_count(Bitboard bb);
+
+void print_bitboard(Bitboard bb);
+
+Bitboard ls1b(Bitboard bb);
+
+Bitboard bitscan(Bitboard bb);