lambda-calc-1/value/inheritance.h
2025-01-13 20:36:07 -06:00

23 lines
400 B
C

#ifndef STRUCT_VALUE_INHERITANCE
#define STRUCT_VALUE_INHERITANCE
#include <stdbool.h>
struct stringtree;
struct value;
struct color_factory;
struct value_inheritance
{
struct stringtree* (*prettyprint)(
int *out_chosen_color,
struct value* this,
struct color_factory* cfactory,
bool with_color);
void (*free)(
struct value* this);
};
#endif