Login
7 branches 0 tags
Ben (X13/Void) Fixed popcount only working on 32-bit ints ac58a5e 3 years ago 413 Commits
nujel / lib / type / symbol.h
#ifndef NUJEL_LIB_TYPE_SYMBOL
#define NUJEL_LIB_TYPE_SYMBOL
#include "../nujel.h"

#define lGetSymbol(v) (((v == NULL) || (v->type != ltSymbol)) ? symNull : v->vSymbol)

lVal     *lValSymS     (const lSymbol *s);
lVal     *lValSym      (const char *s);

bool      lSymKeyword  (const lSymbol *s);

lVal     *lSymbolSearch(const char *s, uint len);

#endif