mirror of
https://github.com/nasa/trick.git
synced 2025-01-24 05:18:10 +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.
26 lines
657 B
C
26 lines
657 B
C
|
|
#include "sim_services/MemoryManager/include/value.h"
|
|
|
|
#ifndef VAR_H
|
|
#define VAR_H
|
|
|
|
/**
|
|
* VAR_DECLARE represents a declarator.
|
|
*/
|
|
typedef struct {
|
|
int num_pointers; /**< ** Number of pointers (asterisks). */
|
|
char *name; /**< ** Name of variable. */
|
|
VALUE_LIST *dim_list; /**< ** Fixed (Constrained) dimensions. */
|
|
V_DATA value; /**< ** Initial value for variable */
|
|
} VAR_DECLARE;
|
|
|
|
/**
|
|
VAR_LIST represents a declarator list.
|
|
*/
|
|
typedef struct {
|
|
int num_vars; /**< ** number of declarators in list */
|
|
VAR_DECLARE *var_declare; /**< ** list of declarators. */
|
|
} VAR_LIST;
|
|
|
|
#endif
|