From 71f28db1b8e26377d56f0eb0aef01f6c6c3afbd0 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 14 Sep 2022 17:44:42 +0300 Subject: feat: implement bitscanAndReset --- src/bitboard.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/bitboard.h') 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); -- cgit v1.2.3