Login
7 branches 0 tags
Ben (X13/Arch) Fixed OpenBSD 5e83d78 4 years ago 202 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);