lisp-take-1/value/null/new.c
2024-11-28 18:36:25 -06:00

24 lines
395 B
C

#include <debug.h>
#include "../new.h"
#include "../kind.h"
#include "struct.h"
#include "inheritance.h"
#include "new.h"
struct value* new_null_value(
struct gc* gc)
{
ENTER;
struct value* super = new_value(
/* garbage collector/allocator: */ gc,
/* kind: */ vk_null,
/* inheritance: */ &null_value_inheritance);
EXIT;
return super;
}