Login
7 branches 0 tags
Ben (X13/Void) Update bootstrap libs 8d8a820 3 years ago 394 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);