aboutsummaryrefslogtreecommitdiff
path: root/src/bitboard.h
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-09-14 17:44:42 +0300
committereug-vs <eugene@eug-vs.xyz>2022-09-14 17:45:22 +0300
commit71f28db1b8e26377d56f0eb0aef01f6c6c3afbd0 (patch)
tree0e7ad0fd5a6e1c5df73c9d9b34e68d67d9a449d1 /src/bitboard.h
parent1373e30387bf5e8e7858e10c9dee4413bf20d71c (diff)
downloadj1chess-71f28db1b8e26377d56f0eb0aef01f6c6c3afbd0.tar.gz
feat: implement bitscanAndReset
Diffstat (limited to 'src/bitboard.h')
-rw-r--r--src/bitboard.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bitboard.h b/src/bitboard.h
index b90bd8f..ebac2f7 100644
--- a/src/bitboard.h
+++ b/src/bitboard.h
@@ -9,4 +9,6 @@ void print_bitboard(Bitboard bb);
Bitboard ls1b(Bitboard bb);
-Bitboard bitscan(Bitboard bb);
+int bitscan(Bitboard bb);
+
+int bitscanAndReset(Bitboard* bb);