1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-26 07:03:16 +00:00
janet/value.h

23 lines
477 B
C
Raw Normal View History

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