lambda-calc-1/value/builtin_lambda/free.c
2025-01-13 20:36:07 -06:00

26 lines
373 B
C

#include <debug.h>
#include <string/free.h>
#include "../free.h"
#include "struct.h"
#include "free.h"
void free_builtin_lambda_value(
struct value* super)
{
ENTER;
struct builtin_lambda_value* this = (void*) super;
free_string(this->name);
free_value(this->value);
free_value((struct value*) this->prev);
EXIT;
}