mirror of
https://github.com/nasa/trick.git
synced 2025-01-23 21:08:02 +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.
44 lines
766 B
C
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
|