#ifndef SHED_CLOSURES_H #define SHED_CLOSURES_H #include "./gc.h" #include "./primitives.h" struct ShedClosure { struct ShedGcObjectHeader gc_object_header; void* function; ShedObject freeVariables[]; }; typedef struct ShedClosure ShedClosureStruct; typedef struct ShedClosure* ShedClosurePointer; typedef ShedObject* ShedEnv; #endif