trick/trick_source/sim_services/MemoryManager/include/var.h
Alex Lin 14a75508a3 Cleaning up once include variables and copyright cleanup.
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.
2015-03-23 16:03:14 -05:00

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