Login
7 branches 0 tags
Ben (Win10) Moved test system to use macros instead of noEval args f861d55 4 years ago 190 Commits
nujel / lib / allocation / roots.h
#pragma once
#include "../nujel.h"

lClosure *lRootsClosurePush(lClosure *c);
lVal     *lRootsValPush    (lVal *c);
lString  *lRootsStringPush (lString *s);

void      lRootsMark();

extern int rootSP;
extern void (*rootsMarkerChain)();

static inline void lRootsRet(const int i){ rootSP = i; }
static inline int lRootsGet(){ return rootSP; }

#define RVP(c) lRootsValPush(c)