1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-27 23:53:16 +00:00
janet/value.h
Calvin Rose 0557c8b2a6 Consolidate files
* Move GC struct into VM for easier use.
* Put all data structures into one file
2017-02-09 18:52:19 -05:00

19 lines
386 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 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 */