trick/trick_source/sim_services/MemoryManager/include/vval.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

44 lines
766 B
C

#ifndef VVAL_H
#define VVAL_H
#include "sim_services/MemoryManager/include/var.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* Function prototypes
*/
char vval_char(V_DATA * V);
short vval_short(V_DATA * V);
int vval_int(V_DATA * V);
long vval_long(V_DATA * V);
long long vval_longlong(V_DATA * V);
float vval_float(V_DATA * V);
double vval_double(V_DATA * V);
char *vval_string(V_DATA * V);
#ifndef __Lynx__
wchar_t vval_wchar(V_DATA * V);
wchar_t *vval_wstring(V_DATA * V);
#else
int vval_wchar(V_DATA * V);
int *vval_wstring(V_DATA * V);
#endif
FILE *vval_filep(V_DATA * V);
void *vval_voidp(V_DATA * V);
/**
* Recursively delete the given v_tree.
* @param v_tree value tree.
*/
void delete_v_tree(V_TREE* v_tree);
#ifdef __cplusplus
}
#endif
#endif