trick/trick_source/sim_services/include/collect_macros.h

16 lines
284 B
C
Raw Normal View History

2015-02-26 15:02:31 +00:00
/*
PURPOSE:
(Macros useful for collect mechanism of S_define)
PROGRAMMER:
(((Robert W. Bailey) (LinCom) (7/95) (--) (Realtime)))
*/
#include "exec_proto.h"
#ifndef COLLECT_MACROS_H
#define COLLECT_MACROS_H
#define NUM_COLLECT(X) (( X == 0 ) ? 0 : *((long *)X - 1))
#endif