19 lines
340 B
C
19 lines
340 B
C
#ifndef VALUE_INCLUDED
|
|
#define VALUE_INCLUDED
|
|
|
|
#include "common.h"
|
|
|
|
typedef double Value;
|
|
|
|
typedef struct {
|
|
int len;
|
|
int cap;
|
|
Value *values;
|
|
} ValueArray;
|
|
|
|
void initValueArray(ValueArray *array);
|
|
void writeValueArray(ValueArray *array, Value value);
|
|
void freeValueArray(ValueArray *array);
|
|
void printValue(Value value);
|
|
#endif
|