mirror of
https://github.com/nasa/trick.git
synced 2024-12-22 06:27:49 +00:00
14a75508a3
Changed all header file once include variables to follow the same naming convention and not start with any underscores. Also deleted old incorrect copyright notices. Also removed $Id: tags from all files. Fixes #14. Fixes #22.
16 lines
284 B
C
16 lines
284 B
C
/*
|
|
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
|