Login
7 branches 0 tags
Ben (X13/Arch) Started making use of [fmt] in the stdLib af54da2 3 years ago 400 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