Login
7 branches 0 tags
Ben (Win10) Made event system and NOS a bit more resilient 4bca487 3 years ago 424 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