Login
7 branches 0 tags
Ben (Win10) Better symbol hashing function 8574b9d 3 years ago 620 Commits
nujel / lib / allocation / closure.h
#ifndef NUJEL_LIB_ALLOC_CLOSURE
#define NUJEL_LIB_ALLOC_CLOSURE
#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);

#endif