|
native Lua
0.5.0-devel
Lua on the platform you use with the compiler you choose
|
Go to the documentation of this file.
21 #define MEMERRMSG "not enough memory"
28 #define sizelstring(l) (offsetof(TString, contents) + ((l) + 1) * sizeof(char))
30 #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \
31 (sizeof(s)/sizeof(char))-1))
37 #define isreserved(s) ((s)->tt == LUA_VSHRSTR && (s)->extra > 0)
43 #define eqshrstr(a,b) check_exp((a)->tt == LUA_VSHRSTR, (a) == (b))
47 unsigned int seed,
size_t step);
#define LUAI_FUNC
Definition: luaconf.h:324
LUAI_FUNC TString * luaS_new(lua_State *L, const char *str)
Definition: lstring.c:253
native Lua configuration file
LUAI_FUNC void luaS_remove(lua_State *L, TString *ts)
Definition: lstring.c:176
LUAI_FUNC void luaS_clearcache(global_State *g)
Definition: lstring.c:122
LUAI_FUNC unsigned int luaS_hash(const char *str, size_t l, unsigned int seed, size_t step)
Definition: lstring.c:53
LUAI_FUNC int luaS_eqlngstr(TString *a, TString *b)
Definition: lstring.c:44
LUAI_FUNC void luaS_resize(lua_State *L, int newsize)
Definition: lstring.c:97
Definition: lobject.h:363
Definition: lobject.h:438
LUAI_FUNC Udata * luaS_newudata(lua_State *L, size_t s, int nuvalue)
Definition: lstring.c:270
LUAI_FUNC unsigned int luaS_hashlongstr(TString *ts)
Definition: lstring.c:62
LUAI_FUNC void luaS_init(lua_State *L)
Definition: lstring.c:135
LUAI_FUNC TString * luaS_newlstr(lua_State *L, const char *str, size_t l)
Definition: lstring.c:233
LUAI_FUNC TString * luaS_createlngstrobj(lua_State *L, size_t l)
Definition: lstring.c:169