lisp-take-1/value/inheritance.h
2024-11-28 18:36:25 -06:00

21 lines
409 B
C

struct value;
struct value_inheritance
{
void (*foreach_accessible_subvalue)(
const struct value* this,
void (*callback)(
struct value* subvalue));
struct stringtree* (*prettyprint)(
const struct value* this);
int (*compare)(
const struct value*,
const struct value*);
void (*shallow_free)(
struct value* this);
};