Login
7 branches 0 tags
Ben (X13/Arch) [closure-caller] -> [closure/caller] and [closure-parent] -> [closure/parent] 7a59dbf 3 years ago 573 Commits
nujel / lib / allocation / array.h
#ifndef NUJEL_LIB_ALLOC_ARRAY
#define NUJEL_LIB_ALLOC_ARRAY
#include "../nujel.h"

#define ARR_MAX (1<<12)
extern lArray  lArrayList[ARR_MAX];
extern uint    lArrayActive;
extern uint    lArrayMax;
extern lArray *lArrayFFree;

void    lArrayInit    ();
lArray *lArrayAlloc   ();
void    lArrayFree    (lArray *v);

#endif