2017-02-09 20:02:59 +00:00
|
|
|
#ifndef VALUE_H_1RJPQKFM
|
|
|
|
#define VALUE_H_1RJPQKFM
|
|
|
|
|
|
|
|
#include "datatypes.h"
|
|
|
|
|
2017-02-10 04:28:11 +00:00
|
|
|
int ValueCompare(Value x, Value y);
|
2017-02-09 20:02:59 +00:00
|
|
|
|
2017-02-10 04:28:11 +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);
|
|
|
|
|
2017-02-13 02:54:18 +00:00
|
|
|
void ValueSet(VM * vm, Value ds, Value key, Value value);
|
2017-02-12 20:53:52 +00:00
|
|
|
|
2017-02-09 23:50:47 +00:00
|
|
|
Value ValueLoadCString(VM * vm, const char * string);
|
2017-02-09 20:02:59 +00:00
|
|
|
|
2017-02-10 04:28:11 +00:00
|
|
|
uint8_t * ValueToString(VM * vm, Value x);
|
2017-02-09 20:02:59 +00:00
|
|
|
|
2017-02-10 04:28:11 +00:00
|
|
|
uint32_t ValueHash(Value x);
|
2017-02-09 20:02:59 +00:00
|
|
|
|
|
|
|
#endif /* end of include guard: VALUE_H_1RJPQKFM */
|