/usr/include/osl/move_probability/pinnedGeneral.h is in libosl-dev 0.6.0-3.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | /* pinnedGeneral.h
*/
#ifndef OSL_MOVE_PROBABILITY_PINNEDGENERAL_H
#define OSL_MOVE_PROBABILITY_PINNEDGENERAL_H
#include "osl/piece.h"
namespace osl
{
namespace move_probability
{
struct PinnedGeneral
{
Piece general, covered;
Square attack;
PinnedGeneral(Piece g, Piece c, Square a) : general(g), covered(c), attack(a)
{
}
PinnedGeneral() {}
};
inline bool operator==(const PinnedGeneral& l, const PinnedGeneral& r)
{
return l.general == r.general && l.covered == r.covered && l.attack == r.attack;
}
}
}
#endif /* OSL_MOVE_PROBABILITY_PINNEDGENERAL_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|