chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f8690
)
new SOMEP macro complements NOTA
author
ian
<ian>
Wed, 5 Jul 2006 21:24:33 +0000
(21:24 +0000)
committer
ian
<ian>
Wed, 5 Jul 2006 21:24:33 +0000
(21:24 +0000)
layout/layout-data.h
patch
|
blob
|
history
diff --git
a/layout/layout-data.h
b/layout/layout-data.h
index 145eaf0a69df1380a2a9bfb1d13e7eb6bb47f9e8..98796c647acbc4c104bc8393b67dece60c8485bd 100644
(file)
--- 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*/