#include "types.h" typedef U64 Bitboard; int popCount(Bitboard bb); void printBitboard(Bitboard bb); Bitboard ls1b(Bitboard bb); int bitscan(Bitboard bb); int bitscanAndReset(Bitboard* bb); Bitboard rankMask(enumSquare sq); Bitboard fileMask(enumSquare sq); Bitboard diagMask(enumSquare sq); Bitboard antiDiasMask(enumSquare sq);