From: ian Date: Wed, 5 Jul 2006 21:24:33 +0000 (+0000) Subject: new SOMEP macro complements NOTA X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=1cb36ce9a11a6bfa005228854477e984262a8370;p=trains.git new SOMEP macro complements NOTA --- diff --git a/layout/layout-data.h b/layout/layout-data.h index 145eaf0..98796c6 100644 --- a/layout/layout-data.h +++ b/layout/layout-data.h @@ -82,5 +82,6 @@ extern const TrainInfo info_trains[]; extern const BoardObject info_maxreverse; /* max. reverse + 1 */ #define NOTA(x) (~(x##Num)0) +#define SOMEP(x) (!!~(x)) #endif /*LAYOUT_DATA_H*/