Login
7 branches 0 tags
Benjamin Vincent Schulenburg Added day10 AoC Test 2275725 4 years ago 256 Commits
nujel / lib / allocation / closure.h
#pragma once
#include "../nujel.h"

#define CLO_MAX (1<<16)
extern lClosure lClosureList[CLO_MAX];
extern uint     lClosureMax;
extern uint     lClosureActive;
extern lClosure *lClosureFFree;

void      lClosureInit      ();
lClosure *lClosureAlloc     ();
void      lClosureFree      (lClosure *c);
int       lClosureID        (const lClosure *n);