Login
7 branches 0 tags
Ben (X13/Void) Fixed bootstrapping procedure e8040cf 3 years ago 460 Commits
nujel / lib / allocation / native-function.h
#ifndef NUJEL_LIB_ALLOC_NFUNC
#define NUJEL_LIB_ALLOC_NFUNC
#include "../nujel.h"

#define NFN_MAX (1<<10)
extern lNFunc   lNFuncList  [NFN_MAX];
extern uint     lNFuncMax;
extern uint     lNFuncActive;

void      lNativeFunctionsInit();
void      lNFuncFree          (uint i);
lNFunc   *lNFuncAlloc         ();
int       lNFuncID            (const lNFunc *n);

#endif