janet/value.h

23 lines
478 B
C

#ifndef VALUE_H_1RJPQKFM
#define VALUE_H_1RJPQKFM
#include "datatypes.h"
void ValuePrint(Value x, uint32_t indent);
int ValueCompare(Value x, Value y);
int ValueEqual(Value x, Value y);
Value ValueGet(VM * vm, Value ds, Value key);
void ValueSet(VM * vm, Value ds, Value key, Value value);
Value ValueLoadCString(VM * vm, const char * string);
uint8_t * ValueToString(VM * vm, Value x);
uint32_t ValueHash(Value x);
#endif /* end of include guard: VALUE_H_1RJPQKFM */