chiark / gitweb /
SPECIAL_CFLAGS_$*
[trains.git] / hostside / rtmacros.h
1 /*
2  * macros which help some files in the realtime daemon
3  */
4
5 #ifndef RTMACROS_H
6 #define RTMACROS_H
7
8 #define S     State *s= &safety_state
9 #define TRA   TrainState *tra= &s->trains[tran]
10 #define TRAI  const TrainInfo *trai= &info_trains[tran];
11 #define SEG   SegmentState *seg= &s->segments[segn]
12
13 #endif /*RTMACROS_H*/