Login
7 branches 0 tags
Ben (Win10) Rainbow parens 090877a 3 years ago 564 Commits
nujel / lib / collection / string.h
#ifndef NUJEL_LIB_COLLECTION_STRING
#define NUJEL_LIB_COLLECTION_STRING
#include "../nujel.h"

lString *lStringNew       (const char *str, uint len);
lString *lStringNewNoCopy (const char *str, uint len);
lString *lStringNewConst  (const char *str, uint len);
lString *lStringDup       (      lString *s);
int      lStringLength    (const lString *s);
lVal    *lValString       (const char *s);
lVal    *lValStringLen    (const char *s, int len);
lVal    *lValStringNoCopy (const char *s, int len);
lVal    *lValStringConst  (const char *c, int len);
lVal    *lValStringError  (const char *bufStart, const char *bufEnd, const char *errStart, const char *err, const char *errEnd);

#endif